summarizeGenesByMean: Take an expression matrix and if duplicate genes are...

View source: R/summarizeGenesByMean.R

summarizeGenesByMeanR Documentation

Take an expression matrix and if duplicate genes are measured, summarize them by their means

Description

This function accepts two expression matrices, with gene ids as rownames() and sample ids as colnames(). It will find all duplicate genes and summarize their expression by their mean.

Usage

summarizeGenesByMean(exprMat)

Arguments

exprMat

a gene expression matrix with gene names as row ids and sample names as column ids.

Value

a gene expression matrix that does not contain duplicate gene ids


SiYangming/pRRophetic documentation built on July 13, 2022, 10:36 p.m.