.calcRelFreq | R Documentation |
Convert to row-wise relative frequency
.calcRelFreq(metagene, mode, naVal = 0)
metagene |
A matrix of read counts or a list of two matrices representing read counts in CDS start and end regions. Each row is a transcript, each column is a position, and value represents read counts in a transcript at a position. |
mode |
A numeric variable (1 or 2) indicating if metagene is a single matrix (mode is 1) or a list of two matrices (mode is 2). |
naVal |
A numeric variable to replace na with. (Default: 0). |
A matrix or a list of two matrices with values normalized as the row-wise relative frequency. When mode is 2, the row-wise total counts are calculated from both matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.