File size: 777 Bytes
4cdf52a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
library(Seurat)
DimPlot(rAAV_RV.inte,)
table(rAAV_RV.inte$sample)
FeaturePlot(rAAV_RV.inte,
            reduction = 'tsne',
            c('rAAV_infected','RV_infected','Syt6','Tshz2'),
            ncol = 2,
            cols=c("lightgrey", "red"),
            min.cutoff='q1')
Idents(rAAV_RV.inte) <- rAAV_RV.inte$sample  # 设定细胞身份

DimPlot(rAAV_RV.inte, reduction = "tsne", group.by = "sample",
        cols = c("#00bfc4", "lightgrey","red", "grey"), pt.size = 0.5) +
  ggtitle("t-SNE Visualization of Infected Cells")

Idents(rAAV_RV.inte) <- rAAV_RV.inte$Maintype  # 设定细胞身份
DimPlot(rAAV_RV.inte, reduction = "umap", pt.size = 0.5) +
  ggtitle("t-SNE Visualization of Infected Cells")
table(rAAV_RV.inte$Maintype,rAAV_RV.inte$sample)