> kegg <- enrichKEGG(gene = data$entrezID,organism ="human",pvalueCutoff = 0.05)
Reading KEGG annotation online:
fail to download KEGG data...
Error in download.KEGG.Path(species) :
'species' should be one of organisms listed in 'http://www.genome.jp/kegg/catalog/org_list.html'...
In addition: Warning message:
In utils::download.file(url, quiet = TRUE, method = method, ...) :
URL 'https://rest.kegg.jp/link/hsa/pathway': status was 'Failure when receiving data from the peer'
解决方法:
R.utils::setOption("clusterProfiler.download.method",'auto')