diffnet_check_attr_class: Infer whether 'value' is dynamic or static.

View source: R/diffnet-indexing.r

diffnet_check_attr_classR Documentation

Infer whether value is dynamic or static.

Description

Intended for internal use only, this function is used in diffnet_index methods.

Usage

diffnet_check_attr_class(value, meta)

Arguments

value

Either a matrix, data frame or a list. Attribute values.

meta

A list. A diffnet object's meta data.

Value

The value object either as a data frame (if static) or as a list of data frames (if dynamic). If value does not follows the permitted types of diffnet_index, then returns with error.


netdiffuseR documentation built on Aug. 30, 2023, 5:07 p.m.