Learn R Programming

momr (version 1.1)

normFreqRPKM: normFreqRPKM

Description

converts a raw count matrix onto a frequency matrix using the RPKM normalization method. This method consists of two consecutive steps, first dividing the raw counts by the length of the gene sequence and the second shrinking the signal per column to a sum of 1

Usage

normFreqRPKM(dat, cat = NULL)

Arguments

dat
: raw counts data matrix with gene_ids as rownames
cat
: the current working catalogue where the reads are mapped and counted, (i.e. hs_3.3_metahit, hs_3.9_metahit) This can also be a vector of genelength values that correspond to the number of rows in the dat matrix and are ordered respectively

Value

a normalized frequency matrix

Details

normFreqRPKM