View source: R/flag_variants.R
Flag and annotate variants using external databases and panel of normals information
1 2 | flag_variants(variants, normal_variants, flag_patterns, exon_ranges,
homop_ranges, RNAedit_ranges, repeats_ranges, flag_qualities = TRUE)
|
variants |
dataframe containing all the variants in the cohort. This is created within the 'variants_power()' function |
normal_variants |
link to panel of normal file parsed with 'samplepower::parse_pon' |
flag_patterns |
dataframe containing the flags to assign to variants. THIS NEEDS TO BE SET AS INTERNAL TO THE PACKAGE |
exon_ranges |
GRanges object with exon boundaries relative to the reference genome used |
homop_ranges |
GRanges object with homopolymers regions of more than 5bp relative to the reference genome used |
RNAedit_ranges |
GRanges object with RNA editing sites relative to the reference genome used |
repeats_ranges |
GRanges object with repetitive regions of the reference genome used |
flag_qualities |
logical. TRUE by default, variants are flagged based on quality measures. If FALSE this step is skipped. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.