eval.test | R Documentation |
This function takes the results of the apply.test function and calculates different evaluation measures (see Details).
eval.test(sim.location, group, res.mat, adjust='BH', alpha = 0.05)
sim.location |
file name for the .h5 file containing the simulations |
group |
character, name of the group within the .h5 file containing the simulated features |
res.mat |
matrix, output from the apply.test function |
adjust |
character, indicate the multiple hypothesis testing to be performed on the P-values, defaults to "BH" |
alpha |
numeric, significance threshold at which the test will be
evaluated, defaults to |
This function will check that tests ran successfully and calculate how well the supplied P-values can distinguish between the true differential abudance features and background features. The measures computed are:
AUROC: measure for the separation of true and background features
TP: number of true positives detected at alpha
FP: number of false positives detected at alpha
TN: number of true negatives at alpha
FN: number of false negatives detected at alpha
PR: precision, calculated as TP/(FP+TP)
R: recall, calculated as TP/(TP+FN)
FDR: false discovery rate, calculated as FP/(FP+TP)
A dataframe containing the evaluation measures at the given alpha value for the different test runs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.