get_meta: Get Metadata from Cograph Network

View source: R/class-network.R

get_metaR Documentation

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)

Arguments

x

A cograph_network object.

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

See Also

as_cograph, get_source

Examples

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

cograph documentation built on April 1, 2026, 1:07 a.m.