Skip to contents

Compute L-R score for each spot

Usage

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

Arguments

spe

SpatialExperiment object

resource

"consensus" table from Omnipath as default, the user can provide a data frame containing L-R pairs. The data frame should contain at least the following two columns: source_genesymbol = ligands, target_genesymbol = receptors

method

mathematical approach to compute L-R scores. Options: min, and product L-R, default is product

organism

choose the organism to be considered, default human, options: human or mouse