View source: R/get_transcripts.R
get_transcripts | R Documentation |
Get transcript positions for all genes in a range.
get_transcripts(
gr.snp,
max_transcripts = 1,
remove_pseudogenes = TRUE,
tx_biotypes = NULL,
verbose = TRUE
)
max_transcripts |
Maximum number of transcripts per gene. |
tx_biotypes |
Transcript biotypes to include in the gene model track.
By default ( |
verbose |
Print messages. |
#### Alternative approaches I've tried ####
dat <- echodata::LRRK2
gr.snp <- echodata::dt_to_granges(dat = dat)
# Warning:: MUST load the full package bc
# it loads other necessary packages into the namespace.
BiocManager::install("Homo.sapiens")
library(Homo.sapiens)
txdb <- Homo.sapiens::Homo.sapiens
GenomicFeatures::genes(txdb)
BiocManager::install("TxDb.Hsapiens.UCSC.hg19.knownGene")
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene::TxDb.Hsapiens.UCSC.hg19.knownGene
GenomicFeatures::genes(txdb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.