天子呼来不上船,自称臣是菜鸟团。在这里,和国际同行一起学习单细胞数据分析。本期的封面故事是:Randomly downsample seurat object .我们知道单细胞数据挖掘的基本思路是缩小基因集和缩小细胞子集足见对Seurat对象取子集多重要。不过,在这之前我们先看几个数据处理的Tips. 读入数据,并人工生成两个分组:library(Seurat)pbmc pbmcAn object of class Seurat 18792 features across 4666 samples within 1 assay Active assay: RNA (18792 features) 3 dimensional reductions calculated: pca, tsne, umap# pretend that cells were originally assigned to one of two replicates (we assign randomly here)# if your cells do belong to multiple replicates, and you want to add this info to the Seurat# object create a data frame with this information (similar to replicate.info below)set.seed(42)pbmc$replicate
………………………………