Add a GRN to a dynwrap object
add_regulatory_network(
dataset,
regulatory_network,
regulatory_network_sc = NULL,
regulators = NULL,
targets = NULL,
...
)A dynwrap object with the regulatory network added.
A dataset created by wrap_data() or wrap_expression()
A data frame consisting of three columns: "regulator", "target", "strength".
A data frame consisting of four columns: "cell_id", "regulator", "target", "strength".
The feature ids of the regulators.
The feature ids of the targets.
Extra arguments to be saved in the model.