Learn R Programming

brainGraph (version 0.55.0)

plot_rich_norm: Plot normalized rich club coefficients against degree threshold

Description

Returns a ggplot object of a line plot of the normalized rich club coefficient for up to two subject groups. Optionally will include a shaded region demarcating the rich.core cutoff.

Usage

plot_rich_norm(rich.dt, densities, alpha = 0.05, g = NULL)

Arguments

rich.dt
A data.table with rich-club coefficients
densities
A numeric vector of the densities to plot
alpha
The significance level (DEFAULT: 0.05)
g
A list (of lists) of igraph graph objects; required if you want to plot a shaded region demarcating the rich.core

Value

Examples

Run this code
richPlot <- plot_rich_norm(rich.dt, densities[N:(N+1)], g=g)

Run the code above in your browser using DataLab