plot_vertex_measures {brainGraph} | R Documentation |
Plot vertex-level graph measures at a single density or threshold
Description
Creates boxplots of a single vertex-level graph measure at a single density
or threshold, grouped by the variable specified by group.by
and
optionally faceted by another variable (e.g., lobe or network).
Usage
plot_vertex_measures(g.list, measure, facet.by = NULL,
group.by = getOption("bg.group"), type = c("violin", "boxplot"),
show.points = FALSE, ylabel = measure, ...)
Arguments
g.list |
A |
measure |
A character string of the graph measure to plot |
facet.by |
Character string indicating the variable to facet by (if
any). Default: |
group.by |
Character string indicating which variable to group the data
by. Default: |
type |
Character string indicating the plot type. Default:
|
show.points |
Logical indicating whether or not to show individual data points (default: FALSE) |
ylabel |
A character string for the y-axis label |
... |
Arguments passed to |
Value
A trellis
or ggplot
object
Author(s)
Christopher G. Watson, cgwatson@bu.edu
Examples
## Not run:
p.deg <- plot_vertex_measures(g[[1]], facet.by='network', measure='degree')
## End(Not run)