This is a test version of Biostars. For the public version, visit https://www.biostars.org.
R plot.DNAcopy with x-axis showing chromosome instead of chromosome coordinate

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

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.

0 answers

No answers yet.

Log in to answer this question.