Learn R Programming

NanoStringDiff (version 1.2.0)

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

Description

Negative size factors can be used to adjust background niose for each sample.

Usage

"negativeFactor"(object) "negativeFactor"(object) <- value

Arguments

object
A NanoStringSet object.
value
A vector of background noise.

Value

Details

Accurate estimation of system background is essential for DE detection analysis. Each code set in the nCounter Analyzer includes several negatives control genes for which no tranCounterript is expected to be present. We use these spike-in negative control genes to estimate background noise for each sample

See Also

negativeControl

Examples

Run this code
data(NanoStringData)
## obtain negative factors
negativeFactor(NanoStringData)

## assign a vector
n=ncol(exprs(NanoStringData))
lamda=rpois(n,10)
negativeFactor(NanoStringData)=lamda

Run the code above in your browser using DataLab