cpmNorm | R Documentation |
Do log2CPM normalization with or without full library size
cpmNorm(rawcount, libsize = NULL)
rawcount |
Matrix representing the raw read counts for samples. Row are the peaks, column are the samples |
libsize |
Numeric vector representing the full library size for all samples. If it is null, use the sum of read count in each sample as the library size. By default, user should use full library size to scale the read counts |
normalized read counts (log2(read counts / sum of read counts + 1))
.
cpmD = cpmNorm(countAll)
# The robustness.
cpmD = cpmNorm(countAll, libsize=fd$lsIP)
cpmD = cpmNorm(countAll)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.