get_data: Get Original Data from Cograph Network

View source: R/class-network.R

get_dataR Documentation

Get Original Data from Cograph Network

Description

Extracts the original estimation data stored in a cograph_network object. This is the raw input data (e.g., sequence matrix from tna, edge list data frame) preserved for reference.

Usage

get_data(x)

Arguments

x

A cograph_network object.

Value

The original data object, or NULL if not stored.

See Also

as_cograph, get_meta

Examples

mat <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), nrow = 3)
net <- as_cograph(mat)
get_data(net)  # NULL (matrices don't store raw data)

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