Search
Question: change plot title in DNAcopy multiple plot.type="s"
0
gravatar for Stephane Plaisance | VIB |
9 days 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.

Thanks

 

ADD COMMENTlink modified 9 days ago by Gavin Kelly510 • written 9 days ago by Stephane Plaisance | VIB |50
0
gravatar for Gavin Kelly
9 days ago by
Gavin Kelly510
United Kingdom / London / Francis Crick Institute
Gavin Kelly510 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 9 days ago by Gavin Kelly510
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.2.0
Traffic: 166 users visited in the last hour