nichenet_build_model: Construct a NicheNet ligand-target model

nichenet_build_modelR Documentation

Construct a NicheNet ligand-target model

Description

Construct a NicheNet ligand-target model

Usage

nichenet_build_model(optimization_results, networks, use_weights = TRUE)

Arguments

optimization_results

The outcome of NicheNet parameter optimization as produced by nichenet_optimization.

networks

A list with NicheNet format signaling, ligand-receptor and gene regulatory networks as produced by nichenet_networks.

use_weights

Logical: whether to use the optimized weights.

Value

A named list with two elements: 'weighted_networks' and 'optimized_parameters'.

Examples

## Not run: 
expression <- nichenet_expression_data()
networks <- nichenet_networks()
optimization_results <- nichenet_optimization(networks, expression)
nichenet_model <- nichenet_build_model(optimization_results, networks)

## End(Not run)


saezlab/OmnipathR documentation built on Nov. 10, 2024, 11:02 p.m.