Create a new ingres
object using the expression data in a
Seurat
object.
Source: R/ingresClass.R
createIngresObjectFromSeurat.Rd
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.