Description Usage Arguments Value See Also Examples
This is useful if one prefers concentrations from one biofluid, but will also
except other biofluids if no reported measurements can be found for the
primary one. priority_mean
will return the mean of the first biofluid
for which measuremnts can be found.
1 | priority_mean(d, biospecimen = c("cellular Cytoplasm", "blood"))
|
d |
A data frame as returned by hmdb_concentration |
biospecimen |
Vector of valid biospecimen to be checked in the order they appear. |
The mean
hmdb_concentration
to parse the concentrations used
in this function.
1 2 3 | # requires internet connection
concs <- hmdb_concentration('HMDB0000124')
priority_mean(concs) # has measurements for cytoplasm so returns those
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.