Utilities for extracting and adding node-associated features stored in the
fdata container of a GraphSpace object.
Arguments
- x
A
GraphSpaceobject.- vars
Character vector specifying feature names to extract. If
NULL, all features are returned.- as_df
Logical. If
TRUE, returns adata.frame. Otherwise returns the original backend representation.- data
A matrix-like or
data.frameobject containing node features. Rows must correspond to node identifiers.