make_auc_brainGraph {brainGraph}R Documentation

Calculate the AUC across densities of given attributes

Description

Given a list of brainGraphList objects, this function will calculate the area under the curve (AUC) across all thresholds/densities for each subject or group.

Usage

make_auc_brainGraph(g.list, g.attr = NULL, v.attr = NULL,
  norm = FALSE)

Arguments

g.list

A list of brainGraphList objects

g.attr

A character vector of graph attribute name(s). Default: NULL

v.attr

A character vector of vertex attribute name(s). Default: NULL

norm

Logical indicating whether to normalize threshold values to be between 0 and 1 (inclusive). Default: FALSE

Details

If the elements of the input list do not have a threshold element (or if it is NULL) then the AUC will be calculated on the interval [0, 1] (inclusive). This has the same effect as specifying norm=TRUE in the function call.

Value

A brainGraphList object with one graph for each subject

Examples

## Not run: 
g.auc <- make_auc_brainGraph(g.fa, g.attr='E.global.wt')

## End(Not run)

[Package brainGraph version 3.0.0 Index]