Skip to content

Conversation

@tlambert03
Copy link

hey @ec363, here's my first stab at an R file :)

I'm not immediately sure how you will then use this, but I was able to get get_protein_detail() to work locally. It will accept a protein name (case insensitive), slug, or ID.

give it a shot and let me know!

@tlambert03
Copy link
Author

oh, and definitely feel free to edit the fields that I am fetching inside of get_protein_detail_by_id; it's just an example. If you reduce the fields, it will be a little faster. You could also add parameters to the function call to toggle inclusion of bigger data, like spectra (you would then have to edit the query string based on the parameters)

@ec363
Copy link
Owner

ec363 commented Mar 11, 2024

It works nicely on first try! Will incorporate in due course. Thank you!

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

Successfully merging this pull request may close these issues.

2 participants