clusterProfiler:gson格式初探
更新包
- conda activate clusterprofile
- ~/dev/xray/xray -c ~/etc/xui2.json &
- wget -e “https_proxy=http://127.0.0.1:20809“ https://github.com/YuLab-SMU/clusterProfiler/archive/refs/heads/master.zip -O clusterProfiler-master.zip
- wget -e “https_proxy=http://127.0.0.1:20809“ https://github.com/YuLab-SMU/DOSE/archive/refs/heads/master.zip -O DOSE-master.zip
- devtools::install_local(‘DOSE-master.zip’)
- devtools::install_local(‘clusterProfiler-master.zip’)
保存gson到本地
- library(clusterProfiler)
- kk <- gson_KEGG(‘hsa’)
- gson::write.gson(kk, file = ‘./KEGG.hsa.gson’)
使用本地gson进行KEGG分析
- library(clusterProfiler)
- kk <- gson::read.gson(‘KEGG.hsa.gson’)
- rres <- readRDS(‘deg.rds’)
- rres <- rres[order(rres$log2FoldChange),]
1 |
|
clusterProfiler:gson格式初探
https://occdn.limour.top/2126.html