ScoreInteractionPrograms: Score expression of single-cells by expression of discovered...

ScoreInteractionProgramsR Documentation

Score expression of single-cells by expression of discovered interaction programs

Description

Score expression of single-cells by expression of discovered interaction programs

Usage

ScoreInteractionPrograms(object, mods, return.assay = T)

Arguments

object

A Seurat object to be scored

mods

Interaction program data. Either the data.frame output of InteractionProgramSignificance, or a list of interaction program genes, as in the output of InteractionPrograms or FindAllInteractionPrograms

return.assay

Value

A Seurat object. When return.assay = R, returns interaction program ligand scores as an assay IP_ligands and receptor scores as an assay IP_receptors. When return.assay = F, Returns a Seurat object with interaction program scores as meta.data columns. Ligand and receptor expression of interaction programs are scored separately. The scores for sender cells (ligand expression) are stored in columns named "ligands_interaction program name" The scores for receiver cells (receptor expression) are stored in columns named "receptors_interaction program name"


BlishLab/scriabin documentation built on Sept. 16, 2024, 1:19 a.m.