readH5ADUnsSpMat {CytoSimplex} | R Documentation |
Extract a sparse matrix from adata.uns stored in an H5AD file
Description
Primarily designed for fetching the velocity data presented as a cell-cell transition graph.
Usage
readH5ADUnsSpMat(filename, unsKey)
Arguments
filename |
File path to the H5AD file. |
unsKey |
The |
Value
A CSC-matrix of "dgCMatrix" class
See Also
Other H5AD-reader:
readH5ADObsNames()
,
readH5ADObsVar()
,
readVelocytoLoom()
Examples
## Not run:
h5adFile <- "path/to/analysis.h5ad"
velo <- readH5ADUnsSpMat(h5adFile, "velo_s_norm_graph")
## End(Not run)
[Package CytoSimplex version 0.2.0 Index]