normToGene: Normalize gene expression to specific genes

View source: R/BarGene.R

normToGeneR Documentation

Normalize gene expression to specific genes

Description

This function will normalize gene expression in a count matrix relative to a given gene or vector of genes.

Usage

normToGene(counts, norm)

Arguments

counts

count matrix (normalized or raw) with genes as rows and samples as columns

norm

character vector of length >=1 of gene names (matching rownames(counts)) to use as reference genes for normalization. If length > 1, geometric mean of genes' expressions will be used.

Value

data frame of dim(counts) of gene expression normalized relative to 'norm'


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