Learn R Programming

SeuratObject (version 5.0.2)

print.DimReduc: Print Top Feature Loadings

Description

Prints a set of features that most strongly define a set of components; note: requires feature loadings to be present in order to work

Usage

# S3 method for DimReduc
print(x, dims = 1:5, nfeatures = 20, projected = FALSE, ...)

Value

Displays set of features defining the components and invisibly returns x

Arguments

x

A DimReduc object

dims

Number of dimensions to display

nfeatures

Number of genes to display

projected

Use projected slot

...

Ignored

See Also

cat

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

Examples

Run this code
pca <- pbmc_small[["pca"]]
print(pca)

Run the code above in your browser using DataLab