Skip to contents

Import 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

Examples

# prepare source
CD <- cd_source(
    source = system.file(
        paste0("extdata/MTox/CD/HILIC_POS.xlsx"),
        package = "MetMashR"
    )
)