https://github.com/ctlab/phantasus
Raw File
Tip revision: 196f3db2382e89502f3d95664a7f0bee36af7287 authored by Alexey Sergushichev on 20 July 2020, 21:37:31 UTC
version bump
Tip revision: 196f3db
colMeansByGroups.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gseaPlot.R
\name{colMeansByGroups}
\alias{colMeansByGroups}
\title{Calculate column averages in row groups}
\usage{
colMeansByGroups(m, groups)
}
\arguments{
\item{m}{matrix n x m}

\item{groups}{vector of size n of numbers from 1 to k}
}
\value{
matrix k*m of column averages  by groups
}
\description{
Calculate column averages in row groups
}
back to top