add_regulatory_network {dynwrap}R Documentation

Add a GRN to a dynwrap object

Description

Add a GRN to a dynwrap object

Usage

add_regulatory_network(
  dataset,
  regulatory_network,
  regulatory_network_sc = NULL,
  regulators = NULL,
  targets = NULL,
  ...
)

Arguments

dataset

A dataset created by wrap_data() or wrap_expression()

regulatory_network

A data frame consisting of three columns: "regulator", "target", "strength".

regulatory_network_sc

A data frame consisting of four columns: "cell_id", "regulator", "target", "strength".

regulators

The feature ids of the regulators.

targets

The feature ids of the targets.

...

Extra arguments to be saved in the model.

Value

A dynwrap object with the regulatory network added.


[Package dynwrap version 1.2.4 Index]