meRatio | R Documentation |
This function calculates, for each candidate region, the enrichment of normalized IP read counts versus the sum of normalized IP and input control read counts.
meRatio(counts, sf)
counts |
A data matrix containing read counts in each region across sample input1, ip1, input2, ip2, input3, ip3, ... |
sf |
A numerical vector containing the size factor of each sample, which is used for sequencing depth normalization. The sample order here is the same as that in counts. |
ratio |
A numerical data matrix containing the methylation ratio of each candidate region across all samples. Here, the number of columns is half of the number of columns in read count matrix. |
data("Basal")
## methylatinon ratio
Ratio = meRatio(
counts = Basal$Candidates$Counts,
sf = Basal$Bins$sf
)
head(Ratio, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.