How to use plotGoannotation function in UniprotR package
0
0
Entering edit mode
17 months ago

Having installed UniprotR package and then used GetProteinGOInfo function I got a data.frame with Gene Ontology characteristics for each protein, obtained by Uniprot database, that I want to plot by using plotGoannotation function of the same package. Applying plotGoannotation function as showing below, I receive an error message.

Ids <-  c("P59540", "E9PQX1", "P05413", "Q9H340", "Q8NGB9", "Q8WY50", "Q8NGL1", "P0DMS8", "Q9NYW6","P46091","O43731","A6NKK0", "Q8NGL6", "P00414", "P03915")
Go_data <- GetProteinGOInfo(Ids)
plotGoannotation(Go_data, directorypath = "C:/")


The error showed on the console is this:

plotGoannotation(Go_data, directorypath = "C:/")
Error in value + 10 : non-numeric argument to binary operator


Any ideas on how to solve this? Thank you

R UniprotR gene ontology uniprot • 313 views
0
Entering edit mode

Please use the formatting bar (especially the code option) to present your post better. You can use backticks for inline code (text becomes text), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.