compute_node_adjacency {GSSTDA} | R Documentation |
Computes the adjacency matrix.
Description
It computes the adjacency matrix between nodes. Two nodes are considered connected if they share at least one individual.
Usage
compute_node_adjacency(nodes_list)
Arguments
nodes_list |
Output of the |
Value
It returns a matrix of magnitude n nodes x n nodes that stores a 1 if there are shared samples in two given nodes and a 0 otherwise.
[Package GSSTDA version 1.0.0 Index]