View source: R/Methmean_match.R
Methmean_site | R Documentation |
This function outputs the methylation mean for each cytosine site. It will calculate methylation difference along each group.
Formula:The mean methylation of a cytosine of one treatment group was calculated by: E((E[MR]_i )/(E[TR]_i ))*W_i and W_i = (E[TR]_i )/(EE[TR]_i ), where [MR]_i and [TR]_i are methylated and total reads number of the CpG, n is the total individual number of one treatment group, and W_i is the weight of reads of the CpG of individual i.
Methmean_site(inputmethfile_QC)
inputmethfile_QC |
refers to the input of methylation file after quality control. |
Outputs a data frame of the methylation mean of provided cytosine sites.
siteall <- Methmean_site(inputmethfile_QC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.