calculateTPM: Normalise counts matrix using transcripts per million (TPM)...

Description Usage Arguments Value

View source: R/matrix_munging.R

Description

Normalise counts matrix using transcripts per million (TPM) normalisation

Usage

1
2
calculateTPM(counts_matrix, lengths, selected_genes = NULL,
  fragment_length = 250)

Arguments

counts_matrix

Matrix of read counts (genes in rows, samples in columns)

lengths

data frame with gene lengths (required columns: gene_id, length)

selected_genes

Subset of genes used to to calculate library size (default: NULL = use all genes)

fragment_length

Mean fragment length

Value

Read count matrix where entries have been TPM normalized.


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.