getEnsemblRegionFeatures: Get features of a given region.

View source: R/getEnsemblRegionFeatures.R

getEnsemblRegionFeaturesR Documentation

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)

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

Value

A data.table containing the requested Ensembl features.


kmeRtone documentation built on Sept. 11, 2024, 9:12 p.m.