countsSVA | R Documentation |
Apply SVA to transformed count data
countsSVA(
counts,
designMatrix,
transformFunc = function(counts, designMatrix) voom(counts, designMatrix)$E,
...
)
counts |
A matrix of counts |
designMatrix |
Design matrix |
transformFunc |
A function to transform the count data |
... |
Passed to |
The SV matrix
set.seed(1887)
exCounts <- matrix(rpois(12000, 10), nrow=2000, ncol=6)
exCounts[1:100, 2:3] <- exCounts[1:100,2:3]+20
exDesign <- model.matrix(~gl(2,3))
countsSVA(exCounts, designMatrix=exDesign)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.