betasCollapseToPfx | R Documentation |
Collapse betas by averagng probes with common probe ID prefix
betasCollapseToPfx(betas, BPPARAM = SerialParam())
betas |
either a named numeric vector or a numeric matrix (row: probes, column: samples) |
BPPARAM |
use MulticoreParam(n) for parallel processing |
either named numeric vector or a numeric matrix of collapsed beta value matrix
## input is a matrix
m <- matrix(seq(0,1,length.out=9), nrow=3)
rownames(m) <- c("cg00004963_TC21", "cg00004963_TC22", "cg00004747_TC21")
colnames(m) <- c("A","B","C")
betasCollapseToPfx(m)
## input is a vector
m <- setNames(seq(0,1,length.out=3),
c("cg00004963_TC21", "cg00004963_TC22", "cg00004747_TC21"))
betasCollapseToPfx(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.