table.to.matrix {inferCSN} | R Documentation |
Switch weight table to matrix
Description
Switch weight table to matrix
Usage
table.to.matrix(network_table, regulators = NULL, targets = NULL)
Arguments
network_table |
The weight data table of network. |
regulators |
Regulators list. |
targets |
Targets list. |
Value
Weight matrix
Examples
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")
)
[Package inferCSN version 1.0.5 Index]