avgExp: Calculate average gene expression between replicates

View source: R/Correlations.R

avgExpR Documentation

Calculate average gene expression between replicates

Description

Calculate average gene expression between replicates

Usage

avgExp(counts, cond, method = c("mean", "median", "geoMean"))

Arguments

counts

Data.frame of counts (rows=genes, columns=samples)

cond

character vector of length ncol(counts) assigning each column to a condition

method

character of either "mean", "median", or "geoMean" of how to calculate average expression. Default is "mean"

Value

Data frame with rows=genes and columns=condition with indicated average of gene expression beween replicates


kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.