medianMatrix: Calculate median values by groups

Description Usage Arguments Value

View source: R/HelperFunctions.R

Description

Calculate median values by groups

Usage

1
medianMatrix(mat, groups)

Arguments

mat

a matrix of numeric values NxM

groups

a vector of size M with annotation of columns in mat

Value

a matrix with one column per group


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