clusterProfiler包做KEGG富集分析报错的解决办法 Y叔的clusterProfiler包大家都知道,enrichKEGG 函数做KEGG富集分析的时候会报如下错误: MedBioInfoCloud:eKEGG<-enrichKEGG(d2e1$ENTREZID,organism="mmu",pvalueCutoff=0.01)ReadingKEGGannotation online:fail to downloadKEGGdata...Error in download.KEGG.Path(species):...
options(clusterProfiler.download.method = xx) but the warning messages is as follows: Reading KEGG annotation online: "https://rest.kegg.jp/link/hsa/pathway"... fail to download KEGG data... Error in download.KEGG.Path(species) :
library('clusterProfiler')kegg<-enrichKEGG(geneID,organism="hsa",keyType="kegg",use_internal_data=FALSE) 如果是使用clusterProfiler包的bitr函数进行ID转换,则可以这样做: library('org.Hs.eg.db') library('org.Mm.eg.db')#物种为鼠 ENTREZID<- bitr(gene, fromType = "SYMBOL", toType="ENTREZID...