Extract embeddings from various object types.

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

Arguments

obj

Object of class:

  • DimReduc

  • Seurat

  • Seurat

reduction

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

verbose

Print messages.