colMeansByGroups: Calculate column averages in row groups

View source: R/gseaPlot.R

colMeansByGroupsR Documentation

Calculate column averages in row groups

Description

Calculate column averages in row groups

Usage

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


baba-beda/morpheusR documentation built on Oct. 10, 2024, 1:35 a.m.