tpm: Function to calculate the TPMs from a table of raw gene...

View source: R/tpm.R

tpmR Documentation

Function to calculate the TPMs from a table of raw gene counts.

Description

TPM: Transcript per million. See https://www.biostars.org/p/273537/ The input table is numeric:

  • The row names are the gene identifiers (ensembl ID).

  • The column names represent the samples. The gene lengths are in a column of a dataframe with the same row order.

Usage

tpm(raw_counts, gene_lengths)

Arguments

raw_counts

A table with the gene counts.

gene_lengths

A column with the gene lengths.


davidrequena/drfun documentation built on May 15, 2024, 10:33 a.m.