# NOT RUN {
##-------------------------------------##
## A) Ensembl genome:
##-------------------------------------##
ensfile <- system.file("extdata",
"hs.ensembl.62.small.RData", package="refGenome")
ens <- loadGenome(ensfile)
gp <- getGenePositions(ens)
##-------------------------------------##
## B) Ensembl junctions:
##-------------------------------------##
junc <- getSpliceTable(ens)
genes <- getGenePositions(junc)
##-------------------------------------##
# C) Ucsc genome:
##-------------------------------------##
ucfile <- system.file("extdata", "hs.ucsc.small.RData", package="refGenome")
uc <- loadGenome(ucfile)
junc <- getSpliceTable(uc)
gp <- getGenePositions(junc)
# }
Run the code above in your browser using DataLab