circlize icon indicating copy to clipboard operation
circlize copied to clipboard

Adding a unique sector with axis labels

Open sarahfrail opened this issue 2 years ago • 2 comments

Thanks so much for this package. The interactivity of the R interface is game changing for my ability to learn/make these plots.

I am comparing two genome assemblies, one that is smaller and more contiguous than the other. I want to maintain contigs/chromosomes as their own sectors because of how useful and compatible this is with genomic data that I am plotting. I also want to display genomic axes to give a sense of size. However, the larger genome is so discontiguous that the typical, sector divided axis labels are impossible to read.

I am trying to figure out how I might display an axis that encompasses the coordinates of the whole genome, rather than each sector. I have crudely drawn an example of what I'm hoping this might look like in a red line around my draft plot below. The ways I've thought to do this already (genome rectangle, highlight.chromosome) are, as far as i know, not compatible with axis drawing.

example

Any help is much appreciated!!! Again, thanks for this excellent package.

sarahfrail avatar Jan 07 '23 22:01 sarahfrail