get_smarter_variants | R Documentation |
Retrieve information on SMARTER SNPs. Only information about the supported
assemblies are returned (see get_smarter_info
for more
information).
get_smarter_variants(species, assembly, query = list())
species |
a smarter species ("Goat", "Sheep") |
assembly |
the smarter working assembly for such species |
query |
a |
Returns a dataframe with selected variants
Currently SMARTER supports OAR3 and OAR4 assemblies for Sheep and CHI1 and ARS1 assemblies for goat. For each assembly, only the evidences used to create the smarter database are returned. Retrieving all variant for a certain assembly and species could require time and memory.
# get variants by region (chrom:start-end)
variants <- get_smarter_variants(
species = "Goat",
assembly = "ARS1",
query = list(region = "1:1-100000")
)
## Not run:
# get available assemblies from info endpoint
names(get_smarter_info()$working_assemblies)
# collect variants from goat ARS1 endpoint (takes a lot of time)
ars1_variant <- get_smarter_variants(
species = "Goat",
assembly = "ARS1"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.