Description Usage Arguments Value Examples
View source: R/relative_association_functions.R
Takes an association pairs dataframe and collapses it to compute each variable/ids average strength. Used for normalizing pairs or investigating patterns in average strength.
1 | gather_avg_strength(association_pairs, strength_column = "strength")
|
association_pairs |
dataframe with columns |
strength_column |
Id of column that encodes the strength of the associations for pairs |
Dataframe with id
and avg_strength
columns for each unique variable in association pairs
1 | gather_avg_strength(virus_net)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.