odd_ratio {MethTargetedNGS}R Documentation

Calculate log odd ratio of the given samples (healthy/tumor)

Description

Log Odd ratio defines the hypomethylation and hypermethylation of a sample in comparison to the other sample.

Usage

odd_ratio(SampA, SampB, plot = TRUE, main = "Log Odd Ratio")

Arguments

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

Value

Vector containing log odd ratios.

Author(s)

Muhammad Ahmer Jamil, Prof. Holger Frohlich, Priv.-Doz. Dr. Osman El-Maarri

Maintainer: Muhammad Ahmer Jamil engr.ahmerjamil@gmail.com

See Also

methAlign

Examples

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)

[Package MethTargetedNGS version 1.12.0 Index]