network_format {inferCSN} | R Documentation |
Format weight table
Description
Format weight table
Usage
network_format(
network_table,
regulators = NULL,
targets = NULL,
abs_weight = TRUE
)
Arguments
network_table |
The weight data table of network. |
regulators |
Regulators list. |
targets |
Targets list. |
abs_weight |
Logical value, whether to perform absolute value on weights, default set to 'TRUE', and when set 'abs_weight' to 'TRUE', the output of weight table will create a new column named 'Interaction'. |
Value
Format weight table
Examples
data("example_matrix")
network_table <- inferCSN(example_matrix)
network_format(
network_table,
regulators = c("g1")
)
network_format(
network_table,
regulators = c("g1"),
abs_weight = FALSE
)
network_format(
network_table,
targets = c("g3")
)
network_format(
network_table,
regulators = c("g1", "g3"),
targets = c("g3", "g5")
)
[Package inferCSN version 1.0.5 Index]