Removes from the expression data the perturbation experiments involving ligands without connections.
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
.
Examples
lr_network <- nichenet_lr_network()
expression <- nichenet_expression_data()
expression <- nichenet_remove_orphan_ligands(expression, lr_network)