rose identifies super enhancers, how to output PDF files
1
0
Entering edit mode
10 months ago
shuailong • 0

Dear Professor: rose identifies super enhancers, how to output PDF files, its default output image is PNG

PDF rose • 884 views
ADD COMMENT
0
Entering edit mode

Dear Professor:

We are a community of volunteers, most of whom are not professors. You can just say "Hi".

ADD REPLY
4
Entering edit mode
10 months ago
Ram 43k

I'm assuming this is the ROSE you're referring to: https://github.com/stjude/ROSE (you should be as specific as you can when you mention software by name)

The plotting code seems to be in R. Here's the line that starts the plotting logic: https://github.com/stjude/ROSE/blob/master/bin/ROSE_callSuper.R#L135

Change this:

plotFileName = paste(outFolder,enhancerName,'_Plot_points.png',sep='')
png(filename=plotFileName,height=600,width=600)

to

plotFileName = paste(outFolder,enhancerName,'_Plot_points.pdf',sep='')
pdf(file=plotFileName,height=600,width=600)

It'll be a little more work to make the output format parameterized but you could always implement it and add a Pull Request to the GitHub repository.

ADD COMMENT
0
Entering edit mode

Thank you for your answer.

ADD REPLY
0
Entering edit mode

A small educational note: if an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one answer if they work. This will help future users that might find this post find the right answer.

upvote_bookmark_accept

ADD REPLY

Login before adding your answer.

Traffic: 1942 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