Partek Flow Documentation

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Downsample Cell Cells task is used to randomly downsample the number of cells in a  single cell data set. This task can be used to reduce the size of large single cell datasets to small and manageable sizes for quick analysis. Another use case for this task is for a project with multi samples with each sample having different number of cells. Downsample Cells can be used to randomly select an equal number of cells for all the samples in the project. For the default setting, the sample with the minimum number of cells is used with the number of cells in that sample set as the number of cells to be selected in the other samples. However, this default setting can be changed to a preferred number by the user. If the number selected by the user is greater than the number of cells in one or more samples, those samples will not be downsampled and all the cells in those samples will be returned. If the number selected by the user is greater than the number of cells in all the samples, then none of the samples will be downsampled.  

To run a downsample task first click on a single cell count data node.  Go to the filtering Filtering section and select Downsample cells task.


Numbered figure captions
SubtitleTextSingle Click on Data node to be downsampled (red) and select the downsample cell Downsample cells task (red rectangle) from the filtering menu
AnchorNameDownsample cells datanode

Image Modified

Select the attribute to split the data on. In this case, data will be split according to the Age attribute (Figure 2)

Numbered figure captions
SubtitleTextSplitting data into >110 and <110 groups of the Age category. Click Finish
AnchorNameData

Image Removed


Result of the split by attribute task will be two separate data nodes, each contains samples from one age group (Figure 3)Clicking on the Downsample cells task will lead to a dialogue menu with the number of cells to be downsampled set to the minimum number of cells in the project. In the figure below, the minimum number of cells in any of the samples was 2658 and this is used in the default settings. Click Finish to run the task.


Numbered figure captions
SubtitleTextCount data node split into two :>110 and <110 data nodes (red rectangle)Downsample cell number to 2658 for each sample in project
AnchorNameResultDownsample cells dialogue

Image Removed

To download a text-file version of one of the tables, click Download in lower right-hand corner of the table. 

Image Added



Additional assistance


Rate Macro
allowUsersfalse

...