observedAndExpected: Calculate CG ratio and observed:expected ratio for CpG...

Description Usage Arguments Details Value

View source: R/findCpGIslands.R

Description

A helper function that returns the ratio of CG nucleotides to the amount of all nucleotides, and the ratio of observed:expected CpG Islands

Usage

1
observedAndExpected(numC, numG, numCpG, lenNuc)

Arguments

numC

The number of cytosines in a DNA strand

numG

The number of guanines in a DNA strand

numCpG

The number of cytosines followed by a guanine in a DNA strand

lenNuc

The number of nucleotides in a DNA strand

Details

This function is an internal function and therefore cannot be used directly when installing this package - it is instead a helper function for findCpGIslands

Value

A dataframe with the CG ratio and observed:expected ratio of CpG Islands


diannamcallister/MethylExpress documentation built on Dec. 31, 2020, 11:19 p.m.