decoupler.get_net_mat
- decoupler.get_net_mat(net)
Transforms a given network to a regulatory adjacency matrix (targets x sources).
- Parameters:
- netDataFrame
Network in long format.
- Returns:
- sourcesndarray
Array of source names.
- targetsndarray
Array of target names.
- Xndarray
Array of interactions bewteen sources and targets (target x source).