negativeControl: Acessor functions for the 'negativeControl' slot in a...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Negative control genes are provided by nCounter Analyzer which can be used to estimate background noise for each sample.

Usage

1
2
3
4
## S4 method for signature 'NanoStringSet'
negativeControl(object)
## S4 replacement method for signature 'NanoStringSet,matrix'
negativeControl(object) <- value

Arguments

object

A NanoStringSet object.

value

A matrix with negative control genes.

Details

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 matrix contain negative control genes

Author(s)

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

See Also

negativeFactor

Examples

1
2
3
4
5
6
7
8
9
data(NanoStringData)
## obtain negative control genes
negativeControl(NanoStringData)

## assign a matrix
n=ncol(exprs(NanoStringData))
r=nrow(negativeControl(NanoStringData))
negative=matrix(rpois(r*n,10),ncol=n)
negativeControl(NanoStringData)=negative

Shedimus/NanoStringDiff documentation built on Dec. 5, 2019, 1:56 a.m.