Description Usage Arguments Note Author(s)
View source: R/get_variants_in_genes.R
Returns all variants that are within a gene (defined by start/stop in the reference dataset).
1 | get_variants_in_genes(df, reference, window = 0)
|
df |
data.frame with three columns: chr, bp and id. |
reference |
a reference dataset that contains 6 columns: ensembl_gene_id, ensembl_transcript_id, hgnc_symbol, chromosome_name, start_position, end_position. This could, for instance be retrieved by biomart. |
window |
integer. How many bases should the window be extended upstrea/downstream of the gene. |
Assumes genes are aligned to positive strand.
flassen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.