read_MAVEN_data: Read MAVEN Data

Description Usage Arguments Value Examples

Description

Reads a MAVEN datafile from directory.

Usage

1
read_MAVEN_data(directory, ...)

Arguments

directory

a pathway pointing to an input file which is either .xlsx or tab-delimited txt/tsv

Value

a list: metabolite_info: information specific to an individual metabolite metabolomics_data: metabolite abundances (ion counts) in each sample in tidy format

Examples

1
2
3
4
5
6
7
# load MAVEN data from an excel file (tab-delimited .txt and .tsv are also accepted)
directory = system.file("extdata", "maven_axon.xlsx", package = "fluxr")
read_MAVEN_data(directory)

# loading data with isotopologue abundances
directory = system.file("extdata", "maven_axon_isotopes.xlsx", package = "fluxr")
read_MAVEN_data(directory)

shackett/fluxr documentation built on May 29, 2019, 8:06 p.m.