bankStat | R Documentation |
The Newman Banked Statistic is used to compare an individual sample to a cohort of similar samples.
bankStat(bankObj, testSet, bankMatrix)
createBank(bankMatrix)
bankObj |
Compressed representation of the cohort being compared to. |
testSet |
Matrix containing data from one or more individual samples to be compared to the bank. |
bankMatrix |
Data for the bank of "normal" or "untreated" or "baseline" control samples. |
A list containing two matrices: the nu.statistics
and the p.values
.
data(GSE6631)
HN <- as.matrix(log2(1 + GSE6631))
bankMatrix <- HN[,seq(1, ncol(HN), 2)] # odd columns are normal
testSet <- HN[, seq(2, 6, 2)] # evn columns are tumor
bs <- bankStat(testSet = testSet, bankMatrix = bankMatrix)
summary(bs$nu.statistics)
summary(bs$p.values)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.