nichenet_remove_orphan_ligands: Removes experiments with orphan ligands

nichenet_remove_orphan_ligandsR Documentation

Removes experiments with orphan ligands

Description

Removes from the expression data the perturbation experiments involving ligands without connections.

Usage

nichenet_remove_orphan_ligands(expression, lr_network)

Arguments

expression

Expression data as returned by nichenet_expression_data.

lr_network

A NicheNet format ligand-recptor network data frame as produced by nichenet_lr_network.

Value

The same list as 'expression' with certain elements removed.

Examples

lr_network <- nichenet_lr_network()
expression <- nichenet_expression_data()
expression <- nichenet_remove_orphan_ligands(expression, lr_network)


saezlab/OmnipathR documentation built on May 3, 2024, 5:32 a.m.