quantileMatrix: Calculate a quantile value by groups

Description Usage Arguments Value

View source: R/HelperFunctions.R

Description

Calculate a quantile value by groups

Usage

1
quantileMatrix(mat, groups, q)

Arguments

mat

a matrix of numeric values NxM

groups

a vector of size M with annotation of columns in mat

q

the quantile to calculate per group

Value

a matrix with one column per group


dviraran/SingleR documentation built on April 21, 2020, 3:23 p.m.