library("Gviz")
gen <- "hg19"
chr <- "chr7"
start <- 38290160
end <- 38303219
if(interactive()){
regulationENSEMBLtrack<-regulationBiomart(gen,chr,start,end)
plotTracks(regulationENSEMBLtrack, from = start, to =end)
} else {
data(regulationENSEMBLtrack)
plotTracks(regulationENSEMBLtrack, from = start, to =end)
}
Run the code above in your browser using DataLab