genotype.binom: Assign states to any given region using binomial test.

Description Usage Arguments Value Author(s)

View source: R/GenotypeBreaks.R

Description

Assign states to any given region using binomial test.

Usage

1
genotype.binom(wReads, cReads, background = 0.05, minReads = 10, log = FALSE)

Arguments

wReads

Number of Watson reads.

cReads

Number of Crick reads.

background

The percent (e.g. 0.05 = 5%) of background reads allowed for WW or CC genotype calls.

minReads

The minimal number of reads between two breaks required for genotyping.

log

Set to TRUE if you want to calculate probability in log space.

Value

A list with the $bestFit and $pval.

Author(s)

David Porubsky


breakpointR documentation built on Nov. 8, 2020, 8:04 p.m.