Test what evidence supports the presence of a CNV in an ExomeDepth object.
TestCNV(x, chromosome, start, end, type)ExomeDepth object containing the likelihood information.
Chromosome data (factor)
Start of the putative CNV
End of the putative CNV
character, Should be either 'deletion' or 'duplication'
A Bayes factor assessing the evidence in favoor of the CNV.