circlize icon indicating copy to clipboard operation
circlize copied to clipboard

font size in chordDiagram

Open biraizoz opened this issue 1 year ago • 1 comments

Hi to everyone, I am new using circlize. I am starting trying to do a chordDiagram. I guess it is an easy topic, but i am not able to change the font size of the labels, and they are too big. Any help? Thanks a lot Belen

biraizoz avatar Jun 21 '23 15:06 biraizoz

You can play with the cex value in circos.text() function. You can adjust the label size by adjusting the cex value. And if you are talking about label length then try to wrap your label using str_wrap() function from stringr package and then create chordDiagram. I hope this will help you !

Nshriwash avatar Jul 29 '23 19:07 Nshriwash