Function fetches various genomic features for a specified region from the Ensembl database. It allows specifying the species, chromosome, region range, and types of features to query.
getEnsemblRegionFeatures(species, chromosome, start, end, features)
A data.table
containing the requested Ensembl features.
Species name or alias (e.g., homo_sapiens, human).
Chromosome name in Ensembl format (without 'chr' prefix).
Start position of the region.
End position of the region.
List of region features to retrieve from Ensembl. Valid options include "band", "gene", "transcript", "cds", "exon", "repeat", "simple", "misc", "variation", "somatic_variation", "structural_variation", "somatic_structural_variation", "constrained", "regulatory", "motif", "peak", "other_regulatory", "array_probe", "mane".