MAIT_identify_metabolites: MAIT metabolite identification

Description Usage Arguments Value References Examples

View source: R/MAIT_metabolite_identification.R

Description

Performs metabolite identification using MAIT.

Usage

1
2
3
MAIT_identify_metabolites(dataset, metadata.variable, 
xSet = NULL, data.folder = NULL, features = NULL, 
mass.tolerance = 0.5)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

metadata.variable

metadata's variable.

xSet

xcmsSet object that can be passed.

data.folder

string indicating the data folder.

features

features that can be used to help to identify the metabolites.

mass.tolerance

mass tolerance.

Value

Returns an object resulted from identifyMetabolites function from MAIT package.

References

http://www.bioconductor.org/packages/release/bioc/html/MAIT.html

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
  ## Example of MAIT metabolite identification
  data(spinalCord)
  library(MAIT)
  mait.metabolites = MAIT_identify_metabolites(spinalCord, "type", 
			features = "all", data.folder = "data",
			xSet = spinalCord$xSet)
  mait.metab.table = mait.metabolites@FeatureInfo@metaboliteTable
  mait.metab.table[which(mait.metab.table$Name != "Unknown"), 
  c(1,3,6)]

## End(Not run)

specmine documentation built on May 15, 2018, 5:04 p.m.