exprsToRatios-methods {pRoloc} | R Documentation

## Calculate all ratio pairs

### Description

Calculations all possible ratios for the `assayData` columns in an `"MSnSet"`.

### Methods

`signature(object = "MSnSet", log = "logical")`

  If `log` is FALSE (default) the ratios for all the `assayData` columns are computed; otherwise, log ratios (differences) are calculated.

### Examples

    library("pRolocdata")
    data(dunkley2006)
    x <- dunkley2006[, 1:3]
    head(exprs(x))
    r <- exprsToRatios(x)
    head(exprs(r))
    pData(r)

[Package pRoloc version 1.22.2 Index]