get_cl_means: Compute cluster means for each row in a matrix

Description Usage Arguments Value

View source: R/util.R

Description

Compute cluster means for each row in a matrix

Usage

1
get_cl_means(mat, cl)

Arguments

mat

A gene (rows) x samples (columns) sparse matrix

cl

A cluster factor object

Value

a matrix of genes (rows) x clusters (columns) with means for each cluster


AllenInstitute/scrattch.hicat documentation built on Nov. 6, 2018, 9:47 p.m.