calculate_activity_score | R Documentation |
This function calculates activity scores for metabolic modules based on their network properties, including modularity, detected metabolite contributions, and overall network connectivity.
calculate_activity_score(
metabolic_modules,
detected_metabolites,
hidden_metabolites,
sub_metabolic_network,
threads = 8
)
metabolic_modules |
A list of metabolic modules, each containing metabolite IDs. |
detected_metabolites |
A character vector of detected metabolite IDs. |
A character vector of hidden metabolite IDs. | |
sub_metabolic_network |
An 'igraph' object representing the metabolic subnetwork. |
threads |
Integer; number of parallel threads to use. Default is '3'. |
A numeric vector of activity scores for each metabolic module.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.