Description Usage Arguments Details Value Author(s) See Also Examples
Identifies the positions of SNPs found in BamGR reads.
1 2 3 4 5 6 7 8 9 10 11 12 | scanForHeterozygotes(BamList, ...)
## S4 method for signature 'GAlignmentsList'
scanForHeterozygotes(
BamList,
minimumReadsAtPos = 20,
maximumMajorAlleleFrequency = 0.9,
minimumMinorAlleleFrequency = 0.1,
minimumBiAllelicFrequency = 0.9,
verbose = TRUE,
...
)
|
BamList |
A |
... |
argument to pass on |
minimumReadsAtPos |
minimum number of reads required to call a SNP at a given position |
maximumMajorAlleleFrequency |
maximum frequency allowed for the most common allele. Setting this parameter lower will minimise the SNP calls resulting from technical read errors, at the cost of missing loci with potential strong ASE |
minimumMinorAlleleFrequency |
minimum frequency allowed for the second most common allele. Setting this parameter higher will minimise the SNP calls resulting from technical read errors, at the cost of missing loci with potential strong ASE |
minimumBiAllelicFrequency |
minimum frequency allowed for the first and second most common allele. Setting a Lower value for this parameter will minimise the identification of loci with three or more alleles in one sample. This is useful if sequencing errors are suspected to be common. |
verbose |
logical indicating if process information should be displayed |
This function scans all reads stored in a GAlignmentsList
for
possible heterozygote positions. The user can balance the sensitivity of the
search by modifying the minimumReadsAtPos, maximumMajorAlleleFrequency and
minimumBiAllelicFrequency arguments.
scanForHeterozygotes
returns a GRanges object with the SNPs
for the BamList object that was used as input.
Jesper R. Gadin, Lasse Folkersen
The getAlleleCounts
which is a
function that count the number of reads overlapping a site.
1 2 | data(reads)
s <- scanForHeterozygotes(reads,verbose=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.