make_network_matrix: Convert edge list network format to matrix format, including...

View source: R/shuffle_network.R View source: R/misc_helper_functions.R

make_network_matrixR Documentation

Convert edge list network format to matrix format, including row normalization.

Description

Convert edge list network format to matrix format, including row normalization.

Convert network edge list to stoichiometric matrix

Usage

make_network_matrix(rxn_table)

make_network_matrix(rxn_table)

Arguments

rxn_table

edge list network

Value

list of two matrices, one with NAs filled in with zeros, one without, as first two outputs of generate_genomic_network

list of two matrices of compounds x genes, one with NAs to indicate lack of relationship vs. neutral and one with all zeros

Examples

make_network_matrix(randomized_edge_list)
make_network_matrix(ko_net[[3]])

borenstein-lab/mimosa2 documentation built on Dec. 19, 2024, 12:44 a.m.