Import annotation source
Source:R/generics.R, R/annotation_source_class.R, R/annotation_database_class.R, and 2 more
read_source.RdImport an data from e.g. a raw file and parse it into an
annotation_source() object.
Usage
read_source(obj, ...)
# S4 method for class 'annotation_source'
read_source(obj)
# S4 method for class 'annotation_database'
read_source(obj)
# S4 method for class 'cd_source'
read_source(obj)
# S4 method for class 'ls_source'
read_source(obj)Arguments
- obj
an
annotation_source()object- ...
not currently used
Value
an annotation_table() or
annotation_database() object
Examples
# prepare source
CD <- cd_source(
source = system.file(
paste0("extdata/MTox/CD/HILIC_POS.xlsx"),
package = "MetMashR"
)
)