analyse_sim_results: Analyse superNOVA simulated data results for two group and...

View source: R/analyse_sim_results.R

analyse_sim_resultsR Documentation

Analyse superNOVA simulated data results for two group and three group simulated data.

Description

Provides a way to merge expected and observed differential coexpressed tables and calculate the sensitivity/specificity/FPR/FNR.

Usage

analyse_sim_results(ddcor_res, true_pairs, sig_cutoff = 0.05,
  verbose = F)

Arguments

ddcor_res

The flattened chow_result file

true_pairs

The true_pairs table from simulate_data() or simulate_data_3gr().

sig_cutoff

The significance p-value (alpha) to use to call observed results as significant.

verbose

Whether to print additional output or not.

Value

Returns a list, including an expected versus observed table for the simulated results, and stats including TPR, TNR, FPR, FNR.


ryananeff/superNOVA documentation built on March 29, 2024, 5:31 p.m.