we will be analyzing the a dataset of Peripheral Blood Mononuclear Cells (PBMC) freely available from 10X Genomics. There are 2,700 singlecellsthat were sequenced on the Illumina NextSeq 500. The raw data can be found here.
2.加载包和读取数据 library(dplyr)library(Seurat)library(patchwork)# Load the PBMC dataset, 读取数据主要使用Read10X这个函数pbmc.data<-Read10X(data.dir="data/filtered_gene_bc_matrices/hg19")# Initialize the Seurat object with the raw (non-normalized data).pbmc<-CreateSeuratObject(counts=pbmc.data...