log2CPM {PathoStat} | R Documentation

## Compute log2(counts per mil reads) and library size for each sample

### Description

Compute log2(counts per mil reads) and library size for each sample

### Usage

    log2CPM(qcounts, lib.size = NULL)

### Arguments

`qcounts` | quantile normalized counts
`lib.size` | default is colsums(qcounts)

### Value

list containing log2(quantile counts per mil reads) and library sizes

### Examples

    log2CPM(matrix(1:12, nrow = 3))

[Package PathoStat version 1.13.1 Index]