Can anyone tell me how I can change the labels size in chordDiagram function (R package circlize)? I looked for an option like cex or cex.labels but cannot seem to find one. Also, Can the orientation be changed?
相关问题
- R - Quantstart: Testing Strategy on Multiple Equit
- Using predict with svyglm
- Reshape matrix by rows
- Extract P-Values from Dunnett Test into a Table by
- split data frame into two by column value [duplica
相关文章
- How to convert summary output to a data frame?
- How to plot smoother curves in R
- Paste all possible diagonals of an n*n matrix or d
- ess-rdired: I get this error “no ESS process is as
- How to use doMC under Windows or alternative paral
- dyLimit for limited time in Dygraphs
- Saving state of Shiny app to be restored later
- How to insert pictures into each individual bar in
You could change the global
par
settings before plotting:As lukeA said, setting
par()
is the most straightforward way to change basic font settings.chordDiagram()
only provides default style for the text, the reason is there are so many different styles for the labels (e.g. font size, direction, position, only drawn in subset of sectors...). If the function supports them all, the function will be very heavy.But
chordDiagram()
also provides an 'advanced' solution to self-define everything in the circle. I.e. first allocate empty space for the graphics (e.g. labels) and then add the graphics afterwards by self-defined codes.You may refer to figure 10 in the vignette (http://cran.r-project.org/web/packages/circlize/vignettes/circular_visualization_of_matrix.pdf) There are examples and code to set the orientation of labels.