add_regulatory_network: Add a GRN to a dynwrap object

View source: R/add_regulatory_network.R

add_regulatory_networkR 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.


dynwrap documentation built on July 26, 2023, 5:15 p.m.