[.DimReduc {SeuratObject}R Documentation

Get Feature Loadings

Description

Pull feature loadings from a dimensional reduction

Usage

## S3 method for class 'DimReduc'
x[i, j, drop = FALSE, ...]

Arguments

x

A DimReduc object

i

Feature identifiers or indices

j

Dimension identifiers or indices

drop

Coerce the result to the lowest possible dimension; see drop for further details

...

Arguments passed to other methods

Details

[ does not distinguish between projected and unprojected feature loadings; to select whether projected or unprojected loadings should be pulled, please use Loadings

Value

Feature loadings for features i and dimensions j

See Also

Loadings

Dimensional reduction object, validity, and interaction methods CreateDimReducObject(), DimReduc-class, DimReduc-validity, [[.DimReduc(), dim.DimReduc(), merge.DimReduc(), print.DimReduc(), subset.DimReduc()

Examples

pca <- pbmc_small[["pca"]]
pca[1:10, 1:5]


[Package SeuratObject version 5.0.2 Index]