Extract loadings from various object types.

extract_loadings(obj, reduction = NULL, verbose = TRUE)

Arguments

obj

Object of class:

  • DimReduc

  • Seurat

  • prcomp

  • list : Generated by run_[tools] decomposition function.

reduction

Which reduction to extract from. Defaults to first available reduction. Only used if obj is of class Seurat.

verbose

Print messages.