getLociGenes | R Documentation |
This function retrieves information for a specified region on a chromosome, including overlapping genes and their associated details such as ID, symbol, biotype, description, transcription start site (TSS), start position, end position, strand direction, and exons structure.
getLociGenes(chromosome, start, end)
chromosome |
Character: Chromosome number as a string. |
start |
Integer: Start position of the specified region on the chromosome. |
end |
Integer: End position of the specified region on the chromosome. |
Returns a tibble data frame of all the overlapping genes in the specified region with the following data structure:
id
: Character. ID of the gene.
symbol
: Character. Symbol of the gene.
bioType
: Character. Biotype of the gene.
description
: Character. Description of the gene.
chromosome
: Character. Chromosome of the gene.
tss
: Integer. Transcription start site of the gene.
start
: Integer. Start position of the gene.
end
: Integer. End position of the gene.
fwdStrand
: Logical. Strand direction of the gene.
exons
: List. List of exons of the gene.
## Not run:
result <- get_genes(chromosome = "2", start = 239634984, end = 241634984)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.