Description Usage Arguments Value Examples
View source: R/annotate_variants.R
Uses a genome object to find context and add it to the variant table
1 2 3 4 5 6 7 8 | add_flank_to_variants(
bay,
g,
flank_start,
flank_end,
build_table = TRUE,
overwrite = FALSE
)
|
bay |
Input samples |
g |
A BSgenome object indicating which genome reference the variants and their coordinates were derived from. |
flank_start |
Start of flank area to add, can be positive or negative |
flank_end |
End of flank area to add, can be positive or negative |
build_table |
Automatically build a table using the annotation and add |
overwrite |
Overwrite existing count table |
None it to the bagel
1 2 3 4 | #bay <- readRDS(system.file("testdata", "bagel_sbs96_tiny.rds",
#package = "BAGEL"))
#add_flank_to_variants(bay, 1, 2)
#add_flank_to_variants(bay, -2, -1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.