#用来根据不同的细胞来源重新画TSNE图
cell_source <-colnames(immune_nobatch)
cell_type <- strsplit(cell_source,split = '_')
ct <-rep(c('N'), times = length(cell_source))
for( i in :length(cell_source)){
ct[i] = cell_type[[i]][]
}
newident <- factor(ct)
Idents(immune_nobatch) <- newident
pdf(file = paste0(outdir,"DimPlot_source.pdf"),width = 9.4,height = )
DimPlot(immune_nobatch,cols =c("#999999","#FF0099", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7","#990000","#9900cc","#66FF66","#663300","#0000FF","#CC0033","#FF0000","#333333") )
dev.off()

最新文章

  1. MAC 安装j2ee.sh的办法
  2. webstorage[html5的本地数据处理]
  3. 【编程题目】栈的 push、pop 序列
  4. whether the computers in a cluster share access to the same disks
  5. Filestream复制视频文件
  6. 数论 - 组合数学 + 素数分解 --- hdu 2284 : Solve the puzzle, Save the world!
  7. 从输入 URL 到页面加载完的过程中都发生了什么事情?
  8. Iterator之ListIterator简介
  9. leetcode 140. Word Break II ----- java
  10. Linux下配置Node环境变量及问题详解
  11. Jquery 自定义事件实现发布/订阅
  12. 查看Linux某个进程打开的文件句柄(file descriptor)数量
  13. LeetCodeOJ. Maximum Depth of Binary Tree
  14. power oj/2360/Change
  15. Bigger-Mai 养成计划,Python基础巩固二
  16. java获取客户端ip地址工具类
  17. [EXP]Microsoft Windows - DfMarshal Unsafe Unmarshaling Privilege Escalation
  18. Jmeter接口测试+压力测试+环境配置+证书导出
  19. JVM调优命令-jstack
  20. vue 绑定属性 绑定Class 绑定style

热门文章

  1. leetcode学习目录
  2. P5596 洛谷月赛 题 题解
  3. [.net core]10.请求静态文件, 自定义默认文件名
  4. asp.net运行原理及机制
  5. 11.jQuery之淡入淡出效果
  6. qt table中字体倾斜
  7. CDH配置YARN动态资源分配
  8. 玩转Android状态栏
  9. 【总结】Android 应用测试总结
  10. jsp-TagLib标签库