Learn R Programming

coMET (version 1.2.0)

genesNameENSEMBL: Obtain the genes names in the genomic regions of interest from ENSEMBL

Description

Obtain the genes names in the genomic regions of interest from ENSEMBL

Usage

genesNameENSEMBL(gen, chr, start, end, dataset)

Arguments

gen
the name of the genome
chr
the chromosome of interest
start
the first position in the region of interest (the smallest value)
end
the last position in the region of interest (the largest value)
dataset
Name of the database to select genes

Value

List of name of genes found in this region of interest.

Details

Can be null

References

go to ENSEMBL

http://bioconductor.org/packages/release/bioc/html/Gviz.html

See Also

ISCATrack, GWASTrack, knownGenesUCSC, GeneReviewsTrack, GADTrack, genesENSEMBL, xenorefGenesUCSC, transcriptENSEMBL,

Examples

Run this code
library("Gviz")
gen <- "hg19"
chr <- "chr7"
start <- 38290160
end <- 38303219

if(interactive()){
  dataset<- "hsapiens_gene_ensembl"
  geneNameEnsembl<- genesNameENSEMBL(gen,chr,start,end,dataset)
  geneNameEnsembl
} else {
  data(geneNameEnsembl)
  geneNameEnsembl
}

Run the code above in your browser using DataLab