Learn R Programming

brainGraph (version 0.48.0)

count_interlobar: Count number of inter-lobar connections from a given major lobe

Description

This function will count the number of edges between all vertices in one major lobe (e.g. Frontal) and all other major lobes.

Usage

count_interlobar(g, lobe, atlas.dt)

Arguments

g
The igraph graph object
lobe
A character string indicating the lobe to count from (uppercase)
atlas.dt
A data table with specific atlas data

Value

  • A data table of total, intra-, and inter-lobar edge counts

Examples

Run this code
atlas.dt <- eval(parse(text=g1[[N]]$atlas))
g1.frontal <- count_interlobar(g1[[N]], 'Frontal', atlas.dt)

Run the code above in your browser using DataLab