topVarRowsByMeanBinning | R Documentation |
Bin rows by mean expression, and return rows with the highest variations from each bin
topVarRowsByMeanBinning(matrix, ntop = NULL, nbin = NULL)
matrix |
A numeric matrix |
ntop |
Integer, the total number of rows that are expected to be returned |
nbin |
Integer, how many bins should be formed? If |
A subset of the matrix, containing exactly ntop
rows.
topVarRowIndByMeanBinning
# myMat <- matrix(rnorm(2000), ncol=10, byrow=FALSE)
# myTopVarMat <- topVarRowsByMeanBinning(myMat, ntop=130, nbin=15)
# myTopVarMat2 <- topVarRowsByMeanBinning(myMat, ntop=135, nbin=15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.