scanForHeterozygotes(BamList, ...)
"scanForHeterozygotes"(BamList, minimumReadsAtPos = 20, maximumMajorAlleleFrequency = 0.9, minimumMinorAlleleFrequency = 0.1, minimumBiAllelicFrequency = 0.9, verbose = TRUE, ...)
GAlignmentsList object
scanForHeterozygotes
returns a GRanges object with the SNPs
for the BamList object that was used as input.
GAlignmentsList
for
possible heterozygote positions. The user can balance the sensitivity of the
search by modifying the minimumReadsAtPos, maximumMajorAlleleFrequency and
minimumBiAllelicFrequency arguments.
getAlleleCounts
which is a
function that count the number of reads overlapping a site.
data(reads)
s <- scanForHeterozygotes(reads,verbose=FALSE)
Run the code above in your browser using DataLab