mrnFactors | R Documentation |
Use MRN with or without full library size
mrnFactors(rawCounts, conditions, libsize = NULL)
conditions |
vector or factor giving the experimental group/condition for each sample/library. If it is null,no control/condition are used. |
rawcount |
Matrix representing the raw read counts for samples. Row are the peaks, column are the samples |
lib.size |
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. |
normalized read counts (log2(read counts / sum of read counts + 1))
.
cpmD = mrnFactors(countAll,conditions=c(rep(1,2), rep(2,2)), libsize=fd$lsIP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.