produceBoolnetNetwork: Convert an ingres network into a BoolNet one

View source: R/netwokHelpers.R

produceBoolnetNetworkR Documentation

Convert an ingres network into a BoolNet one

Description

Convert an ingres network into a BoolNet one

Usage

produceBoolnetNetwork(network)

Arguments

network

The network to be converted, created by produceNetworkForCluster() or produceNetworkForCell()

Value

A BoolNet object.

Examples

# Create an ingres object with viper slot
ing = createIngresObjectFromSeurat(
  small_blca_wang, "RNA", "data", network_genes, network
)
ing@viper = viper_results

# Compute PBNs by cluster
ing = computePbnByCluster(ing)

# Produce a network for an arbitrary cluster
network = produceNetworkForCluster(ing, "1")

produceBoolnetNetwork(network)


ingres documentation built on Sept. 14, 2022, 9:05 a.m.