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