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 s is greater than the number of cells in all the samples, then none of the samples will be downsampled.  

Click on the data node and select split by attribute from the Filtering section in  task menu (Figure 1)To run a downsample task first click on a single cell count data node.  Go to the Filtering section and select Downsample cells task.


Numbered figure captions
SubtitleTextSingle Click on Data node to be split downsampled (red) and select the split by attribute Downsample cells task (red rectangle) from the filtering menu
AnchorNameData node

Image Removed

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

...

Downsample cells datanode

Image Added


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

...