R plot.DNAcopy with x-axis showing chromosome instead of chromosome coordinate
0
1
Entering edit mode
5.9 years ago
CY ▴ 750

I was trying to plot CNV with plot.DNAcopy (a function in DNAcopy library). The input is standard DNAcopy segment file.

Can anyone share some guidance on how to change x-axis from chromosome coordinate to chromosome? Thanks

RNA-Seq CNV DNAcopy • 1.2k views
ADD COMMENT
0
Entering edit mode

Try saving the plot.DNAcopy as an object. You could then look for object$data or something similar (I'm not sure how plot.DNAcopy is structured) and save that as data to plot with your own custom plot, like ggplot2 or base functions.

I've done something similar in the past when I wanted more control of the plotting.

ADD REPLY

Login before adding your answer.

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