calculateIsotopeRatio {pulsedSilac} | R Documentation

## Ratio calculation

### Description

Calculates the ratio between the new isotope and the old isotope (new/old).

### Usage

    calculateIsotopeRatio(x, newIsotopeAssay, oldIsotopeAssay, ...)

    ## S4 method for signature 'SilacProteinExperiment'
    calculateIsotopeRatio(x, newIsotopeAssay, oldIsotopeAssay)

    ## S4 method for signature 'SilacPeptideExperiment'
    calculateIsotopeRatio(x, newIsotopeAssay, oldIsotopeAssay)

    ## S4 method for signature 'SilacProteomicsExperiment'
    calculateIsotopeRatio(x, newIsotopeAssay, oldIsotopeAssay)

### Arguments

`x` | A `SilacProteinExperiment`, `SilacPeptideExperiment` or a `SilacProteomicsExperiment` object.
`newIsotopeAssay` | A `character` indicating the assay name that has the new isotope intensity data.
`oldIsotopeAssay` | A `character` indicating the assay name that has the old isotope intensity data.
`...` | Unused.

### Value

A `SilacProteinExperiment`, `SilacPeptideExperiment` or a `SilacProteomicsExperiment` object with an added assay named 'ratio'.

### Examples

    data('wormsPE')
    calculateIsotopeRatio(x = wormsPE,
                          newIsotopeAssay = 'int_heavy',
                          oldIsotopeAssay = 'int_light')

[Package pulsedSilac version 1.9.1 Index]