seurat_to_h5: Seurat is converted to h5 file

Description Usage Arguments

View source: R/seuratIO.R

Description

Seurat object is converted to h5 file.

Usage

1
seurat_to_h5(seurat = NULL, h5 = NULL, assay.name = NULL, save.graphs = FALSE)

Arguments

seurat

The seurat object.

h5

The h5 file in R.

assay.name

'assay.name' is used to flag the data type. Defualt is "RNA". Available options are:

  • "RNA": this is the scRNA-seq data.

  • "spatial": this is the spatial data.

save.graphs

Default is False , determing whether to save the graph(cell-cell similarity network). seurat graph is different from scanpy graph. Their relationship are set "distances": "knn", "connectivities": "snn" roughly.


JiekaiLab/RIOH5 documentation built on June 5, 2021, 8:37 a.m.