dependency_heatmap.Rd
Make the dependency heatmap
dependency_heatmap(x, pkg_fontsize = 10*cex, title_fontsize = 12*cex,
legend_fontsize = 10*cex, fix_size = !dev.interactive(), cex = 1,
help = TRUE, file = NULL, res = 144)
An object from pkgndep
.
Font size for the package names.
Font size for the title.
Font size for the legends.
Should the rows and columns in the heatmap have fixed size?
A factor multiplicated to all font sizes.
Whether to print help message?
A path of the figure. The size of the figure is automatically calculated.
Resolution of the figure (only for png and jpeg).
If fix_size
is set to TRUE
. The size of the whole plot can be obtained by:
size = dependency_heatmap(x, fix_size = TRUE)
where size
is a numeric vector of length two which are the width and height of the whole heatmap.
If file
argument is set, the size of the figure is automatically calculated.
If there are no dependency packages stored in x
, NULL
is returned.
A vector of two numeric values (in inches) that correspond to the width and height of the plot.
# See examples in `pkgndep()`.