brainGraph-methods: brainGraph generic methods

Description Usage Arguments Details

Description

These functions are S3 generics for various brainGraph-defined objects.

groups returns the “Group” graph attribute for each graph or observation in the object.

region.names is a generic method for extracting region names from various brainGraph objects. These are generally convenience functions.

nregions is a generic method for extracting the number of regions from various brainGraph objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S3 method for class 'brainGraphList'
groups(x)

## S3 method for class 'corr_mats'
groups(x)

region.names(object)

## S3 method for class 'data.table'
region.names(object)

nregions(object)

Arguments

x, object

An object

Details

For a data.table, region.names assumes that it contains a factor column named region.


brainGraph documentation built on Oct. 23, 2020, 6:37 p.m.