Description Usage Arguments Value Examples
Calculate statistics for each row or column of a matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 | customRowMeans(mat, na.rm = FALSE, fast = FALSE)
customRowMedians(mat, na.rm = FALSE, fast = FALSE)
customRowVars(mat, na.rm = FALSE, fast = FALSE)
customRowMins(mat, na.rm = FALSE, fast = FALSE)
customRowMaxs(mat, na.rm = FALSE, fast = FALSE)
customRowRanges(mat, na.rm = FALSE, fast = FALSE)
customColMedians(mat, na.rm = FALSE, fast = FALSE)
|
mat |
Matrix |
na.rm |
Boolean: remove missing values ( |
fast |
Boolean: use |
Vector of selected statistic
1 2 3 | df <- rbind("Gene 1"=c(3, 5, 7), "Gene 2"=c(8, 2, 4), "Gene 3"=c(9:11))
psichomics:::customRowMeans(df)
psichomics:::customRowVars(df, fast=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.