featdata {metabCombiner} | R Documentation

## Obtain Feature Metadata

### Description

`metabCombiner` objects organize metabolomics feature information in the "featdata" slot. This method retrieves all metadata or that of one dataset. The rows should identically correspond to the same rows from the combinedTable data frame.

### Usage

    featdata(object, data = NULL)

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

### Arguments

`object` | a `metabCombiner` object
`data` | character dataset identifier

### Value

data frame of feature metadata from one or all datasets

### 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")

    #full metadata extraction
    fdata <- featdata(p.comb, data = NULL)

    #single dataset feature information extraction
    fdata <- featdata(p.comb, data = "p20")

[Package metabCombiner version 1.2.2 Index]