negativeControl {NanoStringDiff} | R Documentation |
Negative control genes are provided by nCounter Analyzer which can be used to estimate background noise for each sample.
## S4 method for signature 'NanoStringSet' negativeControl(object) ## S4 replacement method for signature 'NanoStringSet,matrix' negativeControl(object) <- value
object |
A NanoStringSet object. |
value |
A matrix with negative control genes. |
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.
A matrix contain negative control genes
Hong Wang <hong.wang@uky.edu> chi wang <chi.wang@uky.edu>
negativeFactor
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