getColumnQuantiles: Calculate quantile for the columns in a matrix

Description Usage Arguments Value Examples

View source: R/getColumnQuantiles.R

Description

Calculate quantile for the columns in a matrix

Usage

1
getColumnQuantiles(X, prob, naRm = FALSE, onlyNonzeroVals = FALSE)

Arguments

X

the matrix

prob

a numeric probablity

naRm

a boolean, whether to remove NAs

onlyNonzeroVals

a boolean, whether to only include non-zero values

Value

a vector of quantiles

Examples

1
getColumnQuantiles(matrix(1:25, nrow=5), prob = 0.5)

rcellminer documentation built on Nov. 26, 2020, 2:02 a.m.