negativeFactor {NanoStringDiff}R Documentation

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

## S4 method for signature 'NanoStringSet'
negativeFactor(object)
## S4 replacement method for signature 'NanoStringSet,numeric'
negativeFactor(object) <- value

Arguments

object

A NanoStringSet object.

value

A vector of background noise.

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

Value

A vector contain background noise

Author(s)

Hong Wang <hong.wang@uky.edu> chi wang <chi.wang@uky.edu>

See Also

negativeControl

Examples

data(NanoStringData)
## obtain negative factors
negativeFactor(NanoStringData)

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

[Package NanoStringDiff version 1.16.0 Index]