View source: R/consequence_types.R
get_variant_consequences | R Documentation |
This function retrieves variant consequence types. For more details check Ensembl Variation - Calculated variant consequences.
get_variant_consequences(verbose = FALSE, warnings = TRUE)
verbose |
Whether to be chatty about the underlying requests. |
warnings |
Whether to print warnings. |
A rule-based approach is used to predict the effects that each allele of a variant may have on each transcript. These effects are variant consequences, that are catalogued as consequence terms, defined by the Sequence Ontology.
See below a diagram showing the location of each display term relative to the transcript structure:
A tibble
, each row being a variant consequence,
of four variables:
Sequence
Ontology accession, e.g., 'SO:0001626'
.
Sequence Ontology
term, e.g., 'incomplete_terminal_codon_variant'
.
Display term.
Sequence Ontology description.
get_variant_consequence_types
makes GET requests to
/info/variation/consequence_types.
# Retrieve variant consequence types
get_variant_consequences()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.