Entering edit mode
zhangducsu
•
0
@zhangducsu-11648
Last seen 8.1 years ago
Hi,I've just using the clusterProfiler to enrichGO,and I 'm sure I have followed the guide.the problems is as follows:
> Rhinopithecus OrgDb object: | DBSCHEMAVERSION: 2.1 | DBSCHEMA: NOSCHEMA_DB | ORGANISM: Rhinopithecus roxellana | SPECIES: Rhinopithecus roxellana | CENTRALID: GID | Taxonomy ID: 61622 | Db type: OrgDb | Supporting package: AnnotationDbi
Please see: help('select') for usage information > sample_gene <- sample(keys(Rhinopithecus), 100) > str(sample_gene) chr [1:100] "104660679" "104681732" "104678044" "104665499" ... > library(clusterProfiler) Loading required package: DBI
Warning message: replacing previous import by ‘graph::.__C__dist’ when loading ‘topGO’ > sample_test <- enrichGO(sample_gene, OrgDb=Rhinopithecus, pvalueCutoff=1, qvalueCutoff=1)
Error in enrichGO(sample_gene, OrgDb = Rhinopithecus, pvalueCutoff = 1, : unused argument (OrgDb = Rhinopithecus)> head(summary(sample_test)) Error in head(summary(sample_test)) : error in evaluating the argument 'x' in selecting a method for function 'head': Error in summary(sample_test) : error in evaluating the argument 'object' in selecting a method for function 'summary': Error: object 'sample_test' not found
Any help will be appreciated,thank you very much!
the msg is also obvious, your input genes can't be mapped to GO annotation.
This can be caused by 2 reasons:
1. your input gene type is not available in OrgDb or the `keytype` parameter is not set correctly.
2. Your OrgDb object doesn't contain GO annotation or without enough annotation.
Your issue is due to reason 2. Your OrgDb contains 29530 genes and only 18 of them have GO annotation.
I remember you post such question 9 months ago and I already answered it.
see https://guangchuangyu.github.io/2016/01/go-analysis-using-clusterprofiler/#comment-2454929667
don't repeatedly asking same question, otherwise I will just ignore it.
Thank you for your reply.I feel so sorry to bother you again...
Anyway,what should I do to do the GO and KEGG analysis of this species whlile clusterprofiler is not work for this?Thanks!