Question: Bioconductor - Karyoploter | Visualization | Multiple Chromosome display issue
0
gravatar for saeed Ur Rehman
6 months ago by
Pakistan/ICT/CUI
saeed Ur Rehman0 wrote:

How can I increase the distance between the chromosomes plotted? when all the chromosomes are plotted with their data backgrounds ?

currently everything is so jam packed that no analysis can be done.

karyoploter • 148 views
ADD COMMENTlink modified 6 months ago by bernatgel120 • written 6 months ago by saeed Ur Rehman0
Answer: Bioconductor - Karyoploter | Visualization | Multiple Chromosome display issue
0
gravatar for bernatgel
6 months ago by
bernatgel120
Spain
bernatgel120 wrote:

Hi Saeed,

You can change the distance between chromosomes as well as the height of the ideogram or the data panels using the "plot.params" argument in plotKaryotype.

In your case you'll probably want to increase the value of data1outmargin but there are many different parameters to adjust. You can see them all calling plotDefaultPlotParams and giving it the plot type you are using. For example, for plot type 2 you would get something like this.

enter image description here

This function can even receive a plot.params object and it will adjust itself to plot the given parameters to help you understand the plotting process. I've used that many times.

In addition to that, the karyoploteR tutorial has a page dedicated to how to change plotting parameters in karyoploteR where you will find more information.

Oh, and I usually recommend creating big images (at least 1500x1500 or 2000x2000 px pngs). This also helps you get a clearer picture of the data you have.

Hope this helps,

Bernat

ADD COMMENTlink written 6 months ago by bernatgel120
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 16.09
Traffic: 443 users visited in the last hour