Description Usage Arguments Value Author(s) See Also Examples
View source: R/createCompDbPackage.R
compound_tbl_lipidblast
extracts basic comopund annotations from a
LipidBlast file in (json format) downloaded from
http://mona.fiehnlab.ucdavis.edu/downloads
1 | compound_tbl_lipidblast(file, collapse)
|
file |
|
collapse |
optional |
A tibble::tibble with general compound information (one row per compound):
compound_id
: the ID of the compound.
compound_name
: the compound's name.
inchi
: the InChI of the compound.
inchikey
: the InChI key.
formula
: the chemical formula.
mass
: the compound's mass.
synonyms
: the compound's synonyms (aliases). This type of this column is
by default a list
to support multiple aliases per compound, unless
argument collapse
is provided, in which case multiple synonyms are pasted
into a single element separated by the value of collapse
.
Johannes Rainer and Jan Stanstrup
Other compound table creation functions:
compound_tbl_sdf()
1 2 3 4 | ## Read compound information from a subset of HMDB
fl <- system.file("json/MoNa-LipidBlast_sub.json", package = "CompoundDb")
cmps <- compound_tbl_lipidblast(fl)
cmps
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.