View source: R/calculateMappingBiasVcf.R
findHighQualitySNPs | R Documentation |
Function to extract high quality SNPs from the mapping bias database. Useful for generating fingerprinting panels etc.
findHighQualitySNPs(
mapping.bias.file,
max.bias = 0.2,
min.pon = 2,
triallelic = FALSE,
vcf.file = NULL,
genome
)
mapping.bias.file |
Generated by |
max.bias |
Maximum mapping bias |
min.pon |
Minimum number of normal samples, useful to get reliable mapping bias. |
triallelic |
By default, ignore positions with multiple alt alleles. |
vcf.file |
Optional VCF file (for example dbSNP). Needs to be bgzip and tabix processed. |
genome |
See |
A GRanges
object with mapping bias passing filters.
If vcf.file
is provided, it will be the variants in the
corresponding file overlapping with the passed variants.
Markus Riester
normal.panel.vcf <- system.file("extdata", "normalpanel.vcf.gz",
package = "PureCN")
bias <- calculateMappingBiasVcf(normal.panel.vcf, genome = "h19")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.