compound_tbl_lipidblast: Extract compound data from LipidBlast

Description Usage Arguments Value Author(s) See Also Examples

View source: R/createCompDbPackage.R

Description

compound_tbl_lipidblast extracts basic comopund annotations from a LipidBlast file in (json format) downloaded from http://mona.fiehnlab.ucdavis.edu/downloads

Usage

1

Arguments

file

character(1) with the name of the file name.

collapse

optional character(1) to be used to collapse multiple values in the columns "synonyms". See examples for details.

Value

A tibble::tibble with general compound information (one row per compound):

Author(s)

Johannes Rainer and Jan Stanstrup

See Also

Other compound table creation functions: compound_tbl_sdf()

Examples

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

michaelwitting/CompoundDb documentation built on April 29, 2020, 8:42 p.m.