View source: R/metactivity_core_functions.R
prepare_regulon_df | R Documentation |
extract and cleanup the regulon collection correpsonding to the desired penalty
prepare_regulon_df(
reaction_set_list_merged,
penalty,
filter_imbalance = c(0, 1)
)
reaction_set_list_merged |
a metabolic-enzyme set collections, as returned by the condense_metabolite_set function |
penalty |
numeric, the index of the reaction_set_list_merged corresponding to the desired penalty |
filter_imbalance |
a vector of two numbers, representing the lower and upper bounds to filter imbalanced reaction trees. for example c(0.33,0.67) will filter out any reaction were the upstream branch is longer than 2 time the length of the downstream branch, and vice versa |
a regulon dataframe with three columns correposning to the enzme, the target metabolite and the weight
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.