Description Usage Arguments Value
This function calculates the log odds ratio for a CpG tuple:
(MM*UU)/(UM*MU)
, where 'M' stands for methylated and 'U' for
unmethylated. 'MM' reflects the count for instances the CpG pair is
methylated at both positions. The higher the MM and UU counts for that CpG
pair, the higher the log odds ratio.
1 | calc_logodds(s, eps = 1)
|
s |
A data frame that contains the MM,UU,UM, and MU counts for each CpG
tuple for a particular sample. It is the resulting object of the
|
eps |
Count added to each of the MM,UU,UM and MU counts to avoid dividing by zero for example. The default is set to 1. |
The same object is returned with an additional column for the log odds ratio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.