jokergoo / circlize

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

font size in chordDiagram #376

Open biraizoz opened 1 year ago

biraizoz commented 1 year ago

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

Nshriwash commented 1 year ago

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 !