geneToGR | R Documentation |
geneToGR converts a gene symbol to genomic ranges coordinate
geneToGR(geneSymbol, gtf_gr)
geneSymbol |
: Gene symbol |
gtf_gr |
: Granges object of a gtf file |
library('Sierra')
extdata_path <- system.file("extdata",package = "Sierra")
gtf.file <- paste0(extdata_path,"/Vignette_cellranger_genes_subset.gtf")
gtf.gr <- rtracklayer::import(gtf.file)
geneGR <- geneToGR(geneSymbol= "Dnajc19",gtf_gr=gtf.gr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.