create_kappa_matrix | R Documentation |
Create Kappa Statistics Matrix
create_kappa_matrix(
enrichment_res,
use_description = FALSE,
use_active_snw_genes = FALSE
)
enrichment_res |
data frame of pathfindR enrichment results. Must-have
columns are 'Term_Description' (if |
use_description |
Boolean argument to indicate whether term descriptions
(in the 'Term_Description' column) should be used. (default = |
use_active_snw_genes |
boolean to indicate whether or not to use non-input active subnetwork genes in the calculation of kappa statistics (default = FALSE, i.e. only use affected genes) |
a matrix of kappa statistics between each term in the enrichment results.
sub_df <- example_pathfindR_output[1:3, ]
create_kappa_matrix(sub_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.