Draw a figure using a group of ggplot objects
drawFigs(
pList,
layout.dim = NULL,
common.legend = FALSE,
legend.position = "right",
...
)
a list with component ggplot objects.
a integer vector with length 2, the layout of subplots in rows and columns.
a logical value, whether use common legend for all subplots.
a string, the position of legend.
other arguments that pass to ggarrange
.
return a new ggplot object.