getDimensions | R Documentation |
The return value must be NULL or a numeric matrix, each column of which is a (reduced) dimension. The rows of the returned matrix must be named.
getDimensions(obj, ...)
## Default S3 method:
getDimensions(obj, ...)
## S3 method for class 'prcomp'
getDimensions(obj, ...)
## S3 method for class 'umap'
getDimensions(obj, ...)
## S3 method for class 'Seurat'
getDimensions(obj, dimName, ...)
obj |
The object from which to obtain the dimension(s). |
... |
Additional class-specific parameters for specifying the desired dimension. |
dimName |
The name of the dimension matrix to obtain. |
A matrix with one dimension per column and one named row per observation in obj.
chmAddReducedDim()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.