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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/sequenceAlignment.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
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)

MethTargetedNGS documentation built on Nov. 8, 2020, 8:10 p.m.