qaVariants | R Documentation |
Filters a tally GRanges
through a series of simple checks for
strand and read position (read position) biases.
qaVariants(x, qa.filters = VariantQAFilters(...), ...)
VariantQAFilters(fisher.strand.p.value = 1e-4, min.mdfne = 10L)
x |
A tally |
qa.filters |
The filters used for the QA process, typically constructed with
|
... |
Arguments passed to |
fisher.strand.p.value |
p-value cutoff for the Fisher's Exact Test for strand bias (+/- counts, alt vs. ref). Any variants with p-values below this cutoff are discarded. |
min.mdfne |
Minimum allowed median distance of alt calls from their nearest end of the read. |
There are currently two QA filters:
Median distance of alt calls from nearest end of the read is
required to be >= min.mdfne
, which defaults to 10.
Fisher's Exact Test for strand bias, using the +/- counts, alt vs. ref. If the null is rejected, the variant is discarded.
For qaVariants
, a tally GRanges
of the variants that
pass the QA checks.
For VariantQAFilters
, a FilterRules
object with the QA and sanity filters.
Michael Lawrence and Jeremiah Degenhardt
data(vignette)
qaVariants(tallies_H1993, fisher.strand.p.value = 1e-4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.