
Match Single-Cell Expression Data with Phylostratum Map (Seurat)
Source:R/phyloset_sc.R
match_map_sc_seurat.Rd
Join single-cell gene expression data (from a Seurat object) with a phylostratum mapping to create a ScPhyloExpressionSet object. Automatically extracts dimensional reductions and metadata.
Arguments
- seurat
A Seurat object containing single-cell expression data
- phylomap
A data frame with two columns: phylostratum assignments and gene IDs
- layer
Character string specifying which layer to use from the Seurat object (default: "counts")
- strata_legend
A data frame with two columns: phylostratum assignments and name of each stratum. If NULL, numeric labels will be used (default: NULL)
- ...
Additional arguments passed to ScPhyloExpressionSet_from_seurat