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
: raw counts data matrix with gene_ids as rownames
: 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
a normalized frequency matrix
Edi Prifti & Emmanuelle Le Chatelier
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.