Description Usage Arguments Value Methods (by class) Examples
Map IDs to Genomic Ranges
1 2 3 4 5 | mapIdsToRanges(x, ...)
## S4 method for signature 'TxDb'
mapIdsToRanges(x, keys, type = c("cds", "exon", "tx",
"gene"), columns = NULL)
|
x |
Database to use for mapping |
keys |
Values to lookup, passed to |
type |
Types of feature to return |
columns |
Additional metadata columns to include in the output |
... |
Additional arguments passed to methods |
GRangesList
corresponding to the keys
TxDb
: TxDb method
1 2 3 4 5 6 | fl <- system.file(package = "GenomicFeatures", "extdata", "sample_ranges.rds")
txdb <- makeTxDbFromGRanges(readRDS(fl))
keys <- list(tx_name = c("ENST00000371582", "ENST00000371588",
"ENST00000494752", "ENST00000614008", "ENST00000496771"))
mapIdsToRanges(txdb, keys = keys, type = "tx")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.