用来对Seurat object中的细胞进行筛选
WhichCells(object_name, expression = gene_name > a_cutoff)
WhichCells(object_name, expression = nCount_RNA > a_cutoff)
WhichCells(object_name, expression = nFeature_RNA > a_cutoff)
返回值:由Barcode组成的字符向量
> aa <- WhichCells(SRR9705086, expression = nCount_RNA > 10000)
> class(aa)
[1] "character"
> length(aa)
[1] 4093
> head(aa, 3)
[1] "AAACCTGAGCCACTAT-1" "AAACCTGCAGTCCTTC-1" "AAACCTGGTGTTTGGT-1"
WhichCells()常和subset()搭配使用,来提取细胞亚群





网友评论