jokergoo / circlize

Circular visualization in R
http://jokergoo.github.io/circlize_book/book/
Other
959 stars 141 forks source link

Any way to overlap rectangle plot and density plot in same track? #366

Open rpugho opened 1 year ago

rpugho commented 1 year ago

Want to overlap density plot and rectangle plot in the same track, like this : Untitled tried to use circos.genomicTrack and panel.fun but seems they are not compatible

jokergoo commented 1 year ago

Yes, density plots are polygons and you can manually draw these graphics with circos.rect() and circos.polygon().

Maybe you can provide me some test datasets?