Function fetches variant features from the Ensembl database for a set of variant IDs. It handles variant IDs in batches to comply with server limits and can include additional information like genotypes, phenotypes, allele frequencies, and genotype frequencies.
getEnsemblVariantFeatures_serial(
species,
variant.ids,
include.genotypes = FALSE,
include.phenotypes = FALSE,
include.allele.frequencies = FALSE,
include.genotype.frequencies = FALSE
)
A list, named by variant IDs, containing lists of variant features.
Species name or alias (e.g., homo_sapiens, human).
A vector of variant IDs (e.g., rs56116432, COSM476).
Include genotypes in the response? Default FALSE.
Include phenotypes in the response? Default FALSE.
Include allele frequencies? Default FALSE.
Include genotype frequencies? Default FALSE.