愿武艺晴小朋友一定得每天都开心
当得到了比较符合、自己也满意的celltype结果后,就会基于celltype对象,开始进行一些可视化了。
在操作之前,先理解原理:
# ArchR 以iterative overlap的计算方式对Fragment 数据进行合并,追求保留住所有细胞类型特异的peaks
#所采用的函数是:addReproduciblePeakSet()函数得到可重复的peak;这里我比较喜欢,也推荐大家使用MACS2 鉴定peak;生成celltype_PeakMatrix
这里我们用可视化CD14在celltype层面上的染色质开放情况为例
1) 添加拟混池重复,得到celltype_PeakMatrix矩阵
> projHeme2 <- addGroupCoverages(ArchRProj=projHeme2, groupBy="celltype") #以celltype为对象构建拟混池重复 ArchR logging to : ArchRLogs/ArchR-addGroupCoverages-135404659eec4-Date-2024-04-17_Time-19-53-23.log If there is an issue, please report to github with logFile! 2024-04-17 19:54:49 : Creating Coverage Files!, 1.43 mins elapsed. 2024-04-17 19:54:49 : Batch Execution w/ safelapply!, 1.431 mins elapsed. 2024-04-17 19:59:04 : Adding Kmer Bias to Coverage Files!, 5.684 mins elapsed. 2024-04-17 20:03:20 : Finished Creation of Coverage Files!, 9.949 mins elapsed. ArchR logging successful to : ArchRLogs/ArchR-addGroupCoverages-135404659eec4-Date-2024-04-17_Time-19-53-23.log
> projHeme2 <- addReproduciblePeakSet( + ArchRProj = projHeme2, + groupBy="celltype", + maxPeaks = 200000, + pathToMacs2 = "/home/**/miniconda3/envs/Rlibrary/bin/macs2") ArchR logging to : ArchRLogs/ArchR-addReproduciblePeakSet-135