odd_ratio {MethTargetedNGS} | R Documentation |
Log Odd ratio defines the hypomethylation and hypermethylation of a sample in comparison to the other sample.
odd_ratio(SampA, SampB, plot = TRUE, main = "Log Odd Ratio")
SampA |
Matrix from methAlign. Also matrix where columns represents Cytosine of CpG sites and rows represents sequences. |
SampB |
Matrix from methAlign. Also matrix where columns represents Cytosine of CpG sites and rows represents sequences. |
plot |
Boolean. TRUE if need a plot after calculation. Default TRUE |
main |
Title of the plot |
Vector containing log odd ratios.
Muhammad Ahmer Jamil, Prof. Holger Frohlich, Priv.-Doz. Dr. Osman El-Maarri
Maintainer: Muhammad Ahmer Jamil engr.ahmerjamil@gmail.com
healthy = system.file("extdata", "Healthy.fasta", package = "MethTargetedNGS") tumor = system.file("extdata", "Tumor.fasta", package = "MethTargetedNGS") reference = system.file("extdata", "Reference.fasta", package = "MethTargetedNGS") healthy = methAlign(healthy,reference) tumor = methAlign(tumor,reference) odd_ratio(healthy,tumor)