Conveniently look up the region of a gene by gene symbol. The value returned by this function
can be used as the region
argument for trackplot functions such as
trackplot_bulk()
or trackplot_gene()
Arguments
- genes
GRanges, list, or data.frame of transcript features to plot. Required attributes are:
chr
,start
,end
: genomic positiongene_name
: Symbol or gene ID
- gene_symbol
Name of gene symbol or ID
- extend_bp
Bases to extend region upstream and downstream of gene
- gene_mapping
Named vector where names are gene symbols or IDs and values are canonical gene symbols