-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathplot_list.Rd
58 lines (46 loc) · 1.19 KB
/
plot_list.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-list.R
\name{plot_list}
\alias{plot_list}
\title{plot a list of ggplot objects}
\usage{
plot_list(
...,
gglist = NULL,
ncol = NULL,
nrow = NULL,
byrow = NULL,
widths = NULL,
heights = NULL,
guides = NULL,
labels = NULL,
tag_levels = NULL,
tag_size = 14,
design = NULL,
output = "patchwork"
)
}
\arguments{
\item{...}{list of plots to be arranged}
\item{gglist}{(optional) list of plots}
\item{ncol}{number of columns}
\item{nrow}{number of rows}
\item{byrow}{If "FALSE" the plots will be filled in in column-major order}
\item{widths}{relative widths}
\item{heights}{relative heights}
\item{guides}{A string specifying how guides should be treated in the layout.}
\item{labels}{manual specified labels to label plots}
\item{tag_levels}{format to label plots, will be disable if 'labels' is not NULL}
\item{tag_size}{size of tags}
\item{design}{specification of the location of areas in the layout}
\item{output}{one of 'gglist' or 'patchwork'}
}
\value{
composite plot
}
\description{
plot a list of ggplot objects using patchwork, similar to `cowplot::plot_grid(plotlist)`
}
\author{
Guangchuang Yu
}