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

Description Usage Arguments Value Author(s) Examples

View source: R/plot_vertex_measures.R

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

1
2
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

Author(s)

Christopher G. Watson, [email protected]

Examples

1
2
3
4
5
## Not run: 
ggp.btwn <- plot_vertex_measures(dt.V.tidy, facet.by='network',
  measure='E.nodal')

## End(Not run)

brainGraph documentation built on May 29, 2018, 9:03 a.m.