R 常用代码段
2024-09-06 22:24:05
#用来根据不同的细胞来源重新画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()
最新文章
- MAC 安装j2ee.sh的办法
- webstorage[html5的本地数据处理]
- 【编程题目】栈的 push、pop 序列
- whether the computers in a cluster share access to the same disks
- Filestream复制视频文件
- 数论 - 组合数学 + 素数分解 --- hdu 2284 : Solve the puzzle, Save the world!
- 从输入 URL 到页面加载完的过程中都发生了什么事情?
- Iterator之ListIterator简介
- leetcode 140. Word Break II ----- java
- Linux下配置Node环境变量及问题详解
- Jquery 自定义事件实现发布/订阅
- 查看Linux某个进程打开的文件句柄(file descriptor)数量
- LeetCodeOJ. Maximum Depth of Binary Tree
- power oj/2360/Change
- Bigger-Mai 养成计划,Python基础巩固二
- java获取客户端ip地址工具类
- [EXP]Microsoft Windows - DfMarshal Unsafe Unmarshaling Privilege Escalation
- Jmeter接口测试+压力测试+环境配置+证书导出
- JVM调优命令-jstack
- vue 绑定属性 绑定Class 绑定style