Skip to content
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

How plot GO termns? #6

Open
berumeng opened this issue May 10, 2021 · 1 comment
Open

How plot GO termns? #6

berumeng opened this issue May 10, 2021 · 1 comment

Comments

@berumeng
Copy link

Dear all

I can’t plot the GO termns due to the Trinotate.xls report includes separated GO term columns called "gene_ontology_BLASTX", "gene_ontology_BLASTP" and "gene_ontology_Pfam".

Therefore, the split_GO function doesn't work anymore.

Could the script be modify to plot the GO termns? Or could be fixed?? Any suggestion???

Thank you in advance!!!

@matevzl533
Copy link

You can modify the original function to eg. for BLASTP terms:
split_GOp <- function(x, hit = "gene_ontology_BLASTP"){

All the changes are in the first line. I have renamed the function to split_GOp for BLASTP terms and the name of the column that it takes from the Trinotate table (from gene_ontology_blast to gene_ontology_BLASTP).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants