Description Usage Arguments Value
View source: R/dsc_mult_thresholds.R
Calculates Sørensen–Dice index for a probability map using multiple thresholds
1 | dsc_mult_thresholds(gold_standard, prob_map, thresholds, mask = NULL)
|
gold_standard |
A vector or nifti of the gold standard to compare using Sørensen–Dice. Class must match prob_map. |
prob_map |
A vector or nifti of the probability map to compare at multiple thresholds with the gold_standard. Class must match gold_standard. |
thresholds |
A vector of thresholds to use on the probability map |
mask |
NULL by default assumes that gold_standard and prob_map are already vectors. If niftis are supplied then a mask must be provided to vectorize the gold_standard and prob_map. |
A tibble with a column of the user-defined thresholds (threshold) and the Sørensen–Dice (dsc) values is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.