add_value {crosstalkr} | R Documentation |
Attach a generic user-provided value to graph
Description
Attach a generic user-provided value to graph
Usage
add_value(val, g, val_name = "value")
Arguments
val |
named numeric vector where the names correspond to vertices in g |
g |
igraph object - will be filtered so that only nodes found in both exp and g are kept |
val_name |
str key for val |
Value
subgraph of g containing only shared keys with val and val attached
[Package crosstalkr version 1.0.5 Index]