美文网首页
WhichCells()

WhichCells()

作者: LET149 | 来源:发表于2025-07-27 23:30 被阅读0次

    用来对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()搭配使用,来提取细胞亚群

    相关文章

      网友评论

          本文标题:WhichCells()

          本文链接:https://www.haomeiwen.com/subject/mogeaktx.html