filter_sort_matrix {inferCSN} | R Documentation |
Filter and sort matrix
Description
Filter and sort matrix
Usage
filter_sort_matrix(network_matrix, regulators = NULL, targets = NULL)
Arguments
network_matrix |
The matrix of network weight. |
regulators |
Regulators list. |
targets |
Targets list. |
Value
Filtered and sorted matrix
Examples
data("example_matrix")
network_table <- inferCSN(example_matrix)
network_matrix <- table_to_matrix(network_table)
filter_sort_matrix(network_matrix)[1:6, 1:6]
filter_sort_matrix(
network_matrix,
regulators = c("g1", "g2"),
targets = c("g3", "g4")
)
[Package inferCSN version 1.1.7 Index]