getScalingFactor {ChIPSeqSpike} | R Documentation

## Get the endogenous scaling factor

### Description

Accesses and returns the experiment or input DNA experiment endogenous scaling factor.

### Usage

    getScalingFactor(theObject)

    ## S4 method for signature 'ChIPSeqSpikeDataset'
    getScalingFactor(theObject)

    ## S4 method for signature 'ChIPSeqSpikeDatasetBoost'
    getScalingFactor(theObject)

    ## S4 method for signature 'Experiment'
    getScalingFactor(theObject)

    ## S4 method for signature 'ExperimentLoaded'
    getScalingFactor(theObject)

    ## S4 method for signature 'ChIPSeqSpikeCore'
    getScalingFactor(theObject)

### Arguments

`theObject` | A `ChIPSeqSpikeCore`, `ChIPSeqSpikeDataset`, `ChIPSeqSpikeDatasetBoost`, `Experiment` or `ExperimentLoaded` object

### Details

If the object is ChIPSeqSpikeCore, ChIPSeqSpikeDataset or ChIPSeqSpikeDatasetBoost, getScalingFactor returns the input DNA experiment endogenous scaling factor.

If the object is Experiment or ExperimentLoaded, getScalingFactor returns the experiment endogenous scaling factor.

### Value

A numeric of the endogenous scaling factor

### Author(s)

Nicolas Descostes

### See Also

`getExogenousScalingFactor`

### Examples

    data(result_extractBinding)
    getScalingFactor(csds[[1]])

[Package ChIPSeqSpike version 1.4.0 Index]