Question: R plot.DNAcopy with x-axis showing chromosome instead of chromosome coordinate
1
gravatar for CY
2.1 years ago by
CY480
United States
CY480 wrote:

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

cnv rna-seq dnacopy • 610 views
ADD COMMENTlink written 2.1 years ago by CY480

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 REPLYlink written 2.1 years ago by goodez480
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1126 users visited in the last hour