produceNetworkForCell: Produce a tidygraph network for a given cell

View source: R/produceNetwork.R

produceNetworkForCellR Documentation

Produce a tidygraph network for a given cell

Description

Produce a tidygraph network for a given cell

Usage

produceNetworkForCell(ingres.object, cell.id)

Arguments

ingres.object

The ingres object containing the relevant data.

cell.id

The id of the cell for which the network is to be produced.

Value

A tidygraph object containing the network for the given cell.

Examples

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

ing = computePbnBySingleCell(ing)

network = produceNetworkForCell(ing, "sample1@ACAGCTAAGATCCCGC-1")
print(network)


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