
The NodeDimReduc class
NodeDimReduc-class.RdThe NodeDimReduc class stores a dimensionality reduction computed
on the nodes of a CellGraph. It follows the same design as
DimReduc: a required embeddings matrix, optional
feature loadings, standard deviations, a dimension key, and a miscellaneous
list for method-specific extras.
Slots
embeddingsA numeric
matrixof node embeddings (nodes x dimensions). Row names are node names when the object is created. When the reduction is stored on aCellGraph, embedding rows follow the graphnodesmap and row names are dropped.loadingsAn optional numeric
matrixof feature loadings (features x dimensions)stdevA numeric vector of standard deviations (or eigenvalues) for each dimension
keyA character scalar used as the column-name prefix, ending with
_(for example"PC_")methodA character scalar naming the reduction method (for example
"pca"or"umap")miscA named list of unstructured additional data