In Seurat's pbmc3k tutorial, they set the CreateSeuratObject with various parameters including min.cell=3
and min.features=200
Can anybody explain exactly what these two parameters mean and where they pull the numbers 3 and 200?
In Seurat's pbmc3k tutorial, they set the CreateSeuratObject with various parameters including min.cell=3
and min.features=200
Can anybody explain exactly what these two parameters mean and where they pull the numbers 3 and 200?
The Seurat manual does a good job explaining the parameters for any function.
min.cells Include features detected in at least this many cells. Will subset the counts matrix as well. To reintroduce excluded features, create a new object with a lower cutoff.
min.features Include cells where at least this many features are detected.
The values they picked here are somewhat arbitrary, but min.cells
helps limit the number of genes used by removing those unlikely to play any part in differentiating groups of cells due to being expressed in very few cells. In general, most genes removed will be those with zero counts across all cells. min.features
removes dead cells cells and empty droplets where few genes are detected.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Thanks for your answer! I wonder if I could change the features I used in my analysis in the later process. I know I can subset samples with subset(object subset = nFeature_RNA > x) to filter the samples. Is there the same function for features selection?
Jared, thanks for your answer and the link to the Seurat Manual. I was only utilizing their website vignettes, so that will help tremendously.
Vignettes are great, as they explain how the package is meant to be used, but the manual is the go-to for any questions about function internals and how things are actually being done (and sometimes why). You can always get the manual information for any function or class from within R itself by sticking a
?
in front of it (e.g.?CreateSeuratObject
will show everything from the manual for that function, including parameters, details, usage examples, etc.).