sFactors {ABSSeq} | R Documentation

## Accessors for the 'sizeFactor' slot of a ABSDataSet object.

### Description

Accessor functions for the 'sizeFactor' slot of a ABSDataSet object.

### Usage

    ## S4 method for signature 'ABSDataSet'
    sFactors(object)

    ## S4 replacement method for signature 'ABSDataSet,numeric'
    sFactors(object)<-value

### Arguments

`object` | an `ABSDataSet` object.
`value` | a numeric object, one for each sample

### Details

The sizeFactors vector assigns to each sample a value, used to normalize the counts in each sample according to selected normMethod.

### See Also

`normalFactors`

### Examples

    data(simuN5)
    obj <- ABSDataSet(counts=simuN5$counts, groups=factor(simuN5$groups))
    obj <- normalFactors(obj)
    sFactors(obj)
    sFactors(obj) <- runif(10,1,2)
    sFactors(obj)

[Package ABSSeq version 1.32.3 Index]