print.DimReduc: Print Top Feature Loadings

View source: R/dimreduc.R

print.DimReducR Documentation

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 class 'DimReduc'
print(x, dims = 1:5, nfeatures = 20, projected = FALSE, ...)

Arguments

x

A DimReduc object

dims

Number of dimensions to display

nfeatures

Number of genes to display

projected

Use projected slot

...

Ignored

Value

Displays set of features defining the components and invisibly returns x

See Also

cat

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

Examples

pca <- pbmc_small[["pca"]]
print(pca)


mojaveazure/seurat-object documentation built on Dec. 13, 2024, 9:23 a.m.