Convert a Seurat object with phylostratum information into a ScPhyloExpressionSet object for single-cell phylotranscriptomic analysis. Automatically extracts dimensional reductions if present, or computes basic PCA and UMAP if none are available.
ScPhyloExpressionSet_from_seurat(
seurat,
strata,
layer = "counts",
selected_idents = NULL,
name = "Single-Cell PhyloExpressionSet",
seed = 42,
...
)A ScPhyloExpressionSet object
A Seurat object containing single-cell expression data
Factor vector of phylostratum assignments for each gene
Character string specifying which layer to use from the Seurat object (default: "counts")
Character string specifying which metadata column to use for grouping (default: NULL, uses active idents)
A character string naming the dataset (default: "Single-Cell Phylo Expression Set")
Integer seed for reproducible UMAP computation (default: 42)
Additional arguments passed to ScPhyloExpressionSet constructor