Learn R Programming

brainGraph (version 0.55.0)

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

Description

This function creates boxplots of a single vertex-level graph measure at a single density, grouped by lobe; each lobe has a separate facet in a ggplot object.

Usage

plot_vertex_measures(dat, cur.density = 0.1, measure = "btwn.cent",
  ylabel = NULL)

Arguments

dat
A ``tidied'' data table of vertex-level graph measures
cur.density
A numeric indicating the graph density
measure
A character string of the graph measure to plot (default: 'btwn.cent')
ylabel
A character string for the y-axis label

Value

  • A ggplot object

Examples

Run this code
ggp.btwn <- plot_vertex_measures(net.meas.tidy, densities[N], 'btwn.cent')

Run the code above in your browser using DataLab