summarizeScores {Repitools} | R Documentation |
Based on a design matrix, scores matrices are subtracted, and a new ScoresList
is returned, with the scores of the contrasts in it.
## S4 method for signature 'ScoresList,matrix' summarizeScores(scores.list, design, verbose = TRUE)
scores.list |
A |
design |
A matrix that contains only -1, 0, or 1. |
verbose |
Whether to print a statement explaining the function was called. |
A ScoresList
object holding the scores of the contrasts that were
specified by the design matrix.
Dario Strbenac
data(chr21genes) data(samplesList) # Loads 'samples.list.subset'. fs <- featureScores(samples.list.subset[1:2], chr21genes, up = 2000, down = 1000, freq = 500, s.width = 500) d.matrix <- matrix(c(-1, 1)) colnames(d.matrix) <- "IP-input" summarizeScores(fs, d.matrix)