adductdata: Retrieve Adduct Annotations

adductDataR Documentation

Retrieve Adduct Annotations

Description

This retrieves user-assigned adduct annotations from one or all constituent datasets of a metabCombiner object

Usage

adductData(object, data = NULL)

## S4 method for signature 'metabCombiner'
adductData(object, data = NULL)

Arguments

object

metabCombiner object

data

dataset identifier to extract information from; if NULL, extracts information from all datasets

Value

data frame of adduct annotations

Examples

data(plasma30)
data(plasma20)

p30 <- metabData(head(plasma30,500), samples = "CHEAR")
p20 <- metabData(head(plasma20,500), samples = "Red")

p.comb <- metabCombiner(p30, p20, xid = "p30", yid = "p20")

##retrieve all adduct data
adducts <- adductData(p.comb, data = NULL)

##retrieve adduct data from p30
adducts <- adductData(p.comb, data = "p30")


hhabra/metabCombiner documentation built on Jan. 26, 2024, 12:23 p.m.