Learn R Programming

cograph (version 2.0.0)

get_meta: Get Metadata from Cograph Network

Description

Extracts the consolidated metadata list from a cograph_network object. The metadata contains source type, layout info, and TNA metadata.

Usage

get_meta(x)

Value

A list with components:

source

Character string indicating input type

layout

List with layout name and seed, or NULL

tna

List with TNA metadata (type, group_name, group_index), or NULL

Arguments

x

A cograph_network object.

See Also

as_cograph, get_source

Examples

Run this code
mat <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), nrow = 3)
net <- as_cograph(mat)
get_meta(net)

Run the code above in your browser using DataLab