read.in.metabolon: read in Metabolon (v1) metabolomics data

View source: R/read.in.metabolon.R

read.in.metabolonR Documentation

read in Metabolon (v1) metabolomics data

Description

This function reads in a Metabolon (v1 format) raw data excel file, writes the (1) metabolite, (2) sample annotation, and (3) feature annotation data to flat text files. It also returns a list object of the same data.

Usage

read.in.metabolon(file2process, data_dir, projectname)

Arguments

file2process

the name of the xls file to process

data_dir

the full path to the directory holding your Metabolon excel file

projectname

a name for your project

Value

a list object of (1) metabolite, (2) sample annotation, and (3) feature annotation data

Examples

# read.in.metabolon(file2process = "Metabolon_data_release.xls", 
#  data_dir = "/File/sits/here/", 
#  projectname = "My Amazing Project")


MRCIEU/metaboprep documentation built on Jan. 28, 2023, 7:29 p.m.