Learn R Programming

ExomeDepth (version 0.9.2)

TestCNV: Computes the Bayes Factor in favour of a CNV defined by position and type.

Description

Test what evidence supports the presence of a CNV in an ExomeDepth object.

Usage

TestCNV(x, chromosome, start, end, type)

Arguments

x
ExomeDepth object containing the likelihood information.
chromosome
Chromosome data (factor)
start
Start of the putative CNV
end
End of the putative CNV
type
character, Should be either 'deletion' or 'duplication'

Value

  • A Bayes factor assessing the evidence in favoor of the CNV.