Learn R Programming

ingres (version 1.0.0)

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

Description

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
)

Value

An ingres object.

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.

Examples

Run this code
createIngresObjectFromSeurat(
  small_blca_wang, "RNA", "data", network_genes, network
)

Run the code above in your browser using DataLab