browseGenome rtracklayer, save / export UCSC genome browser image e.g. as pdf
2
0
Entering edit mode
@james-perkins-6126
Last seen 8.9 years ago
Spain

I would like to be able to save the UCSC genome browser image view generated by the browserView method in rtracklayer without having to manually do it from the browser. Is this possible?

I.e.   for the example:

session <- browserSession()
  browserView(session,
              GRangesForUCSCGenome("hg19", "chr2", IRanges(20000, 50000)))
  ## only view "knownGene" track
  browserView(session, track = "knownGene")

Something like

browserView(session, track = "knownGene", save = "UCSCview.pdf")

Is that possible? Or is there a similar solution? I know tracks can be exported as bed files.

Many thanks.

Jim

rtracklayer browseGenome save file image UCSC • 2.2k views
ADD COMMENT
0
Entering edit mode

Did you figure out how to save an image of the UCSC browserView using rtracklayer?

 

Thanks!

ADD REPLY
0
Entering edit mode
@shrutiisarda-8853
Last seen 9.2 years ago

Did you figure out how to save an image of the UCSC browserView using rtracklayer?

 

Thanks!

ADD COMMENT
0
Entering edit mode
maximilianh ▴ 10
@maximilianh-11016
Last seen 7.8 years ago
UCSC

you can use genome.ucsc.edu/cgi-bin/hgRenderTracks to obtain only the image for a given configuration. 

the parameters are documented here:

https://genome.ucsc.edu/goldenpath/help/customTrack.html#SHARE

ADD COMMENT

Login before adding your answer.

Traffic: 450 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6