ashenoy-cmbi/grafify: Version 3.2.0
Description
grafify v3.2.0 Major updates
theme_grafify
updates:a.
lineend = square
as default for better-looking origin b. transparent backgrounds throughout the plot c. this theme is now applied to allgrafify
plots by default d. all text size on the graph is now the same as thebasesize
(default 20)New arguments in violin plots (
plot_dotviolin
,plot_scatterviolin
,plot_3d_scatterviolin
andplot_4d_scatterviolin
): two separate argumentsbthick
andvthick
to set the line widths of the boxes and violins, respectively. The previousbvthick
will still work, so if a value is provided that will be used for line widths of both boxes and violins.New argument for two-way ANOVA graphs (
plot_4d_
): thegroup_wid
can be used to change the space between groups along the X-axis (i.e., dodge width). Defaultgroup_wid = 0.8
will produce graphs that look similar to those in previous versions ofgrafify
. Ifgroup_wid
is set to 0, there will be no dodging of the factors along X-axis.New arguments in before-after plots (i.e.,
plot_befafter_
):bthick
andlthick
arguments can change line and box line widths independently.
- For consistency, the default width (
bwid
argument) of bars and boxes inplot_4d_
functions is set as0.7
. - Parts of code rewritten for many plot functions to make them shorter and simpler.
log10
tick marks: a. In allplot_
functions: the tick marks now scale with thefontsize
parameter. Previously, the sizes were set to "cm" units, which did not scale correctly. The long tick mark, middle and short ticks are sized:7*fontsize/22
,4*fontsize/22
and4*fontsize/22
, respectively (note that the short and mid are the same size). The size (line width) equalsfontsize/22
, which is the same throughoutgrafify
. b. For consistency and usefulness, theplot_logscales
function also has the above defaults and now hasfontsize = 20
as an additional argument and sizes scale accordingly. c. Colour oflog10
tick marks have the same colour as ticks on non-transformed axis (grey20
).
Files
ashenoy-cmbi/grafify-v3.2.0.zip
Files
(18.8 MB)
Name | Size | Download all |
---|---|---|
md5:88c84934ae154520c46b2e080c39a339
|
18.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/ashenoy-cmbi/grafify/tree/v3.2.0 (URL)