Visualize a branching network
ggbrnet.RdVisualize a branching network
Usage
ggbrnet(
x,
patch_color = "steelblue",
edge_color = "black",
edge_alpha = 1,
edge_linetype = "solid",
edge_width = 0.5,
patch_label = "none",
patch_size = 3,
...
)Arguments
- x
brnet()object- patch_color
Character. Specify the type of patch (vertex) color. Either
"env","disturb", any column name indf_patch, or any color.- edge_color
Edge color. Mapping with
aes()is not supported.- edge_alpha
Edge transparency. Numeric or one of the columns in
df_edge.- edge_linetype
Edge line type. Mapping with
aes()is not supported.- edge_width
Edge line width. Mapping with
aes()is not supported.- patch_label
Character. Specify the type of patch (vertex) label. Either
"patch","branch","n_upstream"."patch"shows patch ID,"branch"branch ID, and"n_upstream"the number of upstream contributing patches. If"none", no label will be shown on patches in the plot.- patch_size
Numeric. Patch (vertex) size in the plot.
- ...
Arguments passed to
ggraph::geom_node_label().
Author
Akira Terui, hanabi0111@gmail.com