Open etnite opened 4 years ago
Hi @etnite
One option would be to add some enlarge the margin between chromosomes to add some space for the base numbers using setting the plotting parameters.
pp <- getDefaultPlotParams(6)
pp$data2outmargin <- 100
kp <- plotKaryotype(plot.type = 6, plot.params = pp)
kpAddBaseNumbers(kp)
Although I think your idea of adding an independent scale could be a better option in some situations. It's a bit more complex than calling axis, certainly, but I'm adding it to our TODO list!
Bernat
Many thanks and sorry for a slow response. I will try out your margin size suggestion for the time being.
Hi, I was wondering if there is any update to adding an independent scale for the plot.
Thanks, Ankit
Hello @bernatgel - thank you for all of your work on this great package!
I'm not sure if I'm missing something obvious, but if I try to make an ideograms only plot (plot.type 6), adding base numbers causes the axis text to overlap each chromosome ideogram:
I'm wondering if there is some way to give an option so that kpAddBaseNumbers() would only add a single x-axis for basepair coordinates at the bottom of the image, which would be much cleaner in the case of only working with ideograms. I've tried using a simple call to axis(), but the problem seems a little more complicated than that.
Thank you.