Learn R Programming

brainGraph (version 1.0.0)

plot_vertex_measures: Plot vertex-level graph measures at a single density or threshold

Description

This function creates boxplots of a single vertex-level graph measure at a single density or threshold, grouped by the variable specified by facet.by (e.g., lobe or network).

Usage

plot_vertex_measures(tidy.dt, facet.by = "lobe", measure = "btwn.cent",
  show.points = FALSE, ylabel = NULL)

Arguments

tidy.dt
A ``tidied'' data.table of vertex-level graph measures
facet.by
Character string indicating whether the data should be plotted separately by a certain variable (default: 'lobe')
measure
A character string of the graph measure to plot (default: 'btwn.cent')
show.points
Logical indicating whether or not to show individual data points (default: FALSE)
ylabel
A character string for the y-axis label

Value

A ggplot object

Examples

Run this code
## Not run: ------------------------------------
# ggp.btwn <- plot_vertex_measures(dt.V.tidy, facet.by='network',
#   measure='E.nodal')
## ---------------------------------------------

Run the code above in your browser using DataLab