Description Usage Arguments Value
View source: R/generate_curve_data.R
Based on results from differentially abundant features (DAF) analysis and a variable used for threshold definition, it will compute 3 differents metrics, allowing to plot ROC and precision-recall curves.
1 | generate_curve_data(dt, threshold_var = "adjusted_pvalue")
|
dt |
a data frame. The output of the |
threshold_var |
a character. The name of the column that should be used as threshold variable. By default "adjusted_pvalue". |
a list of 2 data frame :
roc |
Countains TPR, FPR, method name and run number for each threshold value |
pr |
Countains TPR, precision, method name and run number for each threshold value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.