average.mat.rows: Get the average of each matrix

View source: R/cell_type_assignments.R View source: R/basics.R

average.mat.rowsR Documentation

Get the average of each matrix

Description

Function that gets the average of each row of a matrix

function for computing matrix averages

Usage

average.mat.rows(m, ids, f = colMeans)

average.mat.rows(m, ids, f = colMeans)

Arguments

m

matrix

ids

ids of the samples you care about

f

aggregation function

Value

a list of binary scores


Jerby-Lab/opipes documentation built on Oct. 7, 2022, 12:28 p.m.