Question: change plot title in DNAcopy multiple plot.type="s"
gravatar for Stephane Plaisance | VIB |
10 weeks ago by

I finally made it to the 24chr DNAcopy multiplot but as my chromosomes are already named chr1 ... I get plot titles like 'Chromosome chr1' which is not nice and too long to see the actual chr number. Ideally, I would like to not print 'Chromosome'

Is it possible to substitute the plot titles with a vector of names.

my current command is:

  # one plot per chromosome in mosaic

  plot(segment, plot.type="s")

I tried 'main' and 'title' which have no effect.  Can I also remove index below each plot, I tried xlab without success here too.



ADD COMMENTlink modified 10 weeks ago by Gavin Kelly550 • written 10 weeks ago by Stephane Plaisance | VIB |50
gravatar for Gavin Kelly
10 weeks ago by
Gavin Kelly550
United Kingdom / London / Francis Crick Institute
Gavin Kelly550 wrote:

If we examine the source code of plot.DNAcopy then it appears the 'main' argument is hard-wired in.  My only suggestion is to copy the source into your own function, and modify the behaviour to give you want you want - I don't know of a way to capture the make-up of a base plot in a way that it can be programmatically altered after it has been generated.

ADD COMMENTlink written 10 weeks ago by Gavin Kelly550
Please log in to add an answer.


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