构建自己的富集数据库报错

#sheep_data

library(BiocManager)

BiocManager::install('clusterProfiler')

aBiocManager::install("AnnotationHub")

BiocManager::install("biomaRt")

library(AnnotationHub)

library(biomaRt)

hub <- AnnotationHub::AnnotationHub()

query(hub, "Ovis")

sheep<-hub[["AH85595"]]

length(keys(sheep))

columns(sheep)

head(sheep)

library(clusterProfiler)

> enrich.go<-enrichGO(gene=down_gene,

+                      OrgDb="sheep",

+                      keyType="SYMBOL",

+                      ont="All",

+                      pAdjustMethod="fdr",

+                      pvalueCutoff=0.05,

+                      qvalueCutoff=0.2,

+                      readable=FALSE)

Loading required package: sheep

Loading required package: sheep

Warning messages:

1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :

  there is no package called ‘sheep’

请先 登录 后评论