dot-geomMeanAcrossGenes: Helper function to calculate geometric mean of a set of genes...

Description Usage Arguments Value

Description

Computes the geometric mean of the expression of a particular set of genes for every sample (column) in a matrix. NAs are ignored during this calculation. The result is a vector of geometric means, each corresponding to one sample (column) in the original matrix.

Usage

1
.geomMeanAcrossGenes(expr_mat, genes)

Arguments

expr_mat

expression dataset, rows are genes, columns are samples

genes

list of genes to calculate the geometric mean of

Value

a vector of geometric means


erflynn/exprsex documentation built on Feb. 23, 2020, 2:34 a.m.