annotate_consequences | R Documentation |
Request variant consequences from Variant Effect Predictor (VEP) via Ensembl Rest Service. Not recommended for large queries.
annotate_consequences(geno, species)
geno |
Data frame or GenomicRanges::GRanges object including columns rsid, ref, alt. |
species |
Species name, e.g. mouse (GRCm38) or human (GRCh38). |
Data frame.
geno = finemap("chr1",
start = 5000000, end = 6000000,
strain1 = c("C57BL_6J"), strain2 = c("AKR_J", "A_J", "BALB_cJ")
)
df = annotate_consequences(geno[seq_len(10), ], "mouse")
geno.granges = finemap("chr1",
start = 5000000, end = 6000000,
strain1 = c("C57BL_6J"), strain2 = c("AKR_J", "A_J", "BALB_cJ"),
return_obj = "granges"
)
df2 = annotate_consequences(geno.granges[seq_len(10), ], "mouse")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.