adductdata {metabCombiner} | R 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")

[Package metabCombiner version 1.4.0 Index]