Learn R Programming

NanoStringDiff (version 1.2.0)

positiveFactor: Acessor functions for the 'positiveFactor' slot in a NanoStringSet object.

Description

Positive size factors can be used to adjust all platform associated sources of variation.

Usage

"positiveFactor"(object) "positiveFactor"(object) <- value

Arguments

object
A NanoStringSet object.
value
A vector of positive size factors.

Value

Details

The observed counts including negative control genes and housekeeping control genes might be effect by some experimental factors like hybridization and binding efficiency. In order to get the true rate of gene expression, these variations must be normalized. Positive size factors can normalize this kind of variation.

See Also

positiveControl

Examples

Run this code
data(NanoStringData)
## obtain positive factors
positiveFactor(NanoStringData)

## assign a vector
n=ncol(exprs(NanoStringData))
positiveFactor(NanoStringData)=rep(1,n)

Run the code above in your browser using DataLab