graphed_features: Retain meaningful features

View source: R/launder.R

graphed_featuresR Documentation

Retain meaningful features

Description

Trims features so that only columns whose names match the vertex names in graph are retained.

Usage

graphed_features(features, graph)

Arguments

features

matrix or 3D array.

graph

an igraph.

Value

A matrix or 3D array (as features features), reduced and reshaped such that only features belonging to the vertices in graph appear in the order given by graph.

See Also

Other data laundering techniques: common_features(), cut_off(), induced.subgraph.by_name(), launder()


pievos101/DFNET documentation built on Dec. 1, 2022, 3:44 p.m.