Skip to contents

Calculates ligand-receptor scores for each spot using CPM-normalized expression and a ligand-receptor reference.

Usage

get_lr(spe, resource = "Consensus", method = "min", organism = "human")

Arguments

spe

SpatialExperiment with a cpm assay.

resource

L-R reference. Defaults to the Omnipath consensus; a custom data frame must include source_genesymbol and target_genesymbol.

method

Scoring method: "min" or "product".

organism

Organism: "human" or "mouse".