table_to_matrix | R Documentation |
Switch network table to matrix
table_to_matrix(network_table, regulators = NULL, targets = NULL)
network_table |
The weight data table of network. |
regulators |
Regulators list. |
targets |
Targets list. |
Weight matrix
data("example_matrix")
network_table <- inferCSN(example_matrix)
head(network_table)
table_to_matrix(network_table)[1:6, 1:6]
table_to_matrix(
network_table,
regulators = c("g1", "g2"),
targets = c("g3", "g4")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.