colMeansByGroups: Calculate column averages in row groups

Description Usage Arguments Value

View source: R/gseaPlot.R

Description

Calculate column averages in row groups

Usage

1
colMeansByGroups(m, groups)

Arguments

m

matrix n x m

groups

vector of size n of numbers from 1 to k

Value

matrix k*m of column averages by groups


phantasus documentation built on Nov. 8, 2020, 6:39 p.m.