liftOver(x, chain, ...)
GRanges
.
Chain
object, usually imported with
import.chain
.
GRangesList
object. Each element contains the ranges mapped
from the corresponding element in the input (may be one-to-many).
## Not run:
# chain <- import.chain("hg19ToHg18.over.chain")
# library(TxDb.Hsapiens.UCSC.hg19.knownGene)
# tx_hg19 <- transcripts(TxDb.Hsapiens.UCSC.hg19.knownGene)
# tx_hg18 <- liftOver(tx_hg19, chain)
# ## End(Not run)
Run the code above in your browser using DataLab