Qdata {metabCombiner} | R Documentation

## Retrieve Relative Abundance Values

### Description

This retrieves feature Q values from one or all constituent dataset features of a `metabCombiner` object. Alternatively, the average Q value can be retrieved.

### Usage

    Qdata(object, data = NULL, value = c("obs", "mean"))

    ## S4 method for signature 'metabCombiner'
    Qdata(object, data = NULL, value = c("obs", "mean"))

### Arguments

`object` | `metabCombiner` object
`data` | dataset identifier to extract information from; if NULL, extracts information from all datasets
`value` | Either "obs" (observed - default option) or "mean" average value

### Value

data frame or vector of relative ranked abundance (Q) values

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 Q Q <- Qdata(p.comb, data = NULL)

##retrieve Q from p30 Q <- Qdata(p.comb, data = "p30")

##retrieve mean Q Q <- Qdata(p.comb, value = "mean")

[Package metabCombiner version 1.2.2 Index]