I try to use the rtracklayer package to interact with UCSC to show the CNV track, but when I follow the guide from web and tutorial , I really get the UCSC show webpage, but in the webpage, the track cannot show.
the code I use like this:
session = browserSession()
restoredTrack2 <- import("cpneTrack.bed")
track(session, "cpneRestored") = restoredTrack2
view <- browserView(session,restoredTrack2,pack="cpneRestored")
but in the webpage, the track cpneRestored cannot show.
So I want to some suggest about the reason?