Skip to contents

Create a new ingres object using the expression data in a Seurat object.

Usage

createIngresObjectFromSeurat(
  seurat.object,
  seurat.assay = "RNA",
  slot = "data",
  network.genes,
  network
)

Arguments

seurat.object

A Seurat object with QC, scaling and clustering already executed.

seurat.assay

The name of the assay to be imported, normally 'RNA' or 'Spatial'.

slot

The name of the slot that contains the matrix to be used.

network.genes

A data frame with a column for node names and another column for the corresponding entrez IDs.

network

A object of class tbl_graph representing our network of interest.

Value

An ingres object.

Examples

createIngresObjectFromSeurat(
  small_blca_wang, "RNA", "data", network_genes, network
)
#> An ingres object
#> --------------------
#> 16314 features across 90 samples
#> 9 clusters
#> Its Boolean network has 30 nodes
#> Viper not performed