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

Error in if (tissues[1] == "\n  ") tissues = NULL :  argument is of length zero #3

Open
aeisman opened this issue Oct 24, 2020 · 1 comment

Comments

@aeisman
Copy link

aeisman commented Oct 24, 2020

I am attempting to use your hmdbQuery R package to pull metadata for a list of metabolites from hmdb. I am able to do this for about 215/366 metabolites. At this point, I am most interested in taxonomy. 

The most common error I am getting is: 

"Error in if (tissues[1] == "\n  ") tissues = NULL :  argument is of length zero" 
from the following query:

hmdb_result = HmdbEntry(
prefix = "http://www.hmdb.ca/metabolites/",
id = "HMDB0002467",
keepFull = TRUE
)

Thank you! Aaron

@aeisman
Copy link
Author

aeisman commented Oct 26, 2020

Also, what is the role of secondary accession numbers? Do these always point to the same record? Is there ever a case where a secondary number might work with the package but the primary doesn't?

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

1 participant