Learn R Programming

kmeRtone (version 1.0)

getEnsemblRegionFeatures: Get features of a given region.

Description

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.

Usage

getEnsemblRegionFeatures(species, chromosome, start, end, features)

Value

A data.table containing the requested Ensembl features.

Arguments

species

Species name or alias (e.g., homo_sapiens, human).

chromosome

Chromosome name in Ensembl format (without 'chr' prefix).

start

Start position of the region.

end

End position of the region.

features

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".