matrix_to_table | R Documentation |
Switch matrix to network table
matrix_to_table(
network_matrix,
regulators = NULL,
targets = NULL,
threshold = 0
)
network_matrix |
The matrix of network weight. |
regulators |
Character vector of regulator names to filter by. |
targets |
Character vector of target names to filter by. |
threshold |
The threshold for filtering weights based on absolute values, defaults to 0. |
Network table
data("example_matrix")
network_table <- inferCSN(example_matrix)
network_matrix <- table_to_matrix(network_table)
network_table_new <- matrix_to_table(network_matrix)
head(network_table)
head(network_table_new)
identical(
network_table,
network_table_new
)
matrix_to_table(
network_matrix,
threshold = 0.8
)
matrix_to_table(
network_matrix,
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.