-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gene name in cnetplot--with own GO annotation data #275
Comments
In case you were not able to solve this yet: The function So you could lookup the code of Key is line 53 of In this line 53 the gene ids (= Thus: if you create such character vector, independent from an To illustrate the above let's get started by generating a
The challenge is now to be able to manually convert the gene ids into symbols. To do this a character vector is needed that 'links' the gene ids to symbols (i.e. my object Note also that since the example dataset are human
Continue by running step-by-step the relevant parts of the code of
Now the key step: modify line 53 to use
Continue with code.
Check:
Compare with output from
|
Hi, thank you so much for the detail demonstration :) |
Hi, I have my own GO annotation data with multiple treatment groups for comparison, and so I did the comparecluster with 'enricher' function. I would like to visualize the result in cnetplot with gene name. Do you know how to change the gene ID into the gene name in this case? I tried the 'setReadable' function but it was not working since my microorganism is not from the Org database.
f=compareCluster(GeneID~group+treatment, data = big_df, fun="enricher", TERM2GENE = go_gene, TERM2NAME = go_terms, pvalueCutoff = 0.05, pAdjustMethod = "BH")
Thank you! :)
The text was updated successfully, but these errors were encountered: