
Get the PCA loadings
get_pca_loadings.RdReturns the PCA loadings (feature-based scores). This function is used for the single cell-related classes and methods.
Usage
get_pca_loadings(x, ...)
## S7 method for class <bixverse::MetaCells>
get_pca_loadings(x, ...)
# S3 method for class 'ScCache'
get_pca_loadings(x, ...)
## S7 method for class <bixverse::SingleCells>
get_pca_loadings(x, ...)
## S7 method for class <bixverse::SingleCellsSubset>
get_pca_loadings(x, ...)Examples
# HVGs x PCs
sc <- demo_single_cells()
dim(get_pca_loadings(sc))
#> [1] 30 10
unlink(sc@dir_data, recursive = TRUE, force = TRUE)