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.
Usage
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, ...)