Learn R Programming

ingres (version 1.0.0)

produceNetworkForCell: Produce a tidygraph network for a given cell

Description

Produce a tidygraph network for a given cell

Usage

produceNetworkForCell(ingres.object, cell.id)

Value

A tidygraph object containing the network for the given cell.

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.

Examples

Run this code
# 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)

Run the code above in your browser using DataLab