count_stats: Calculate performance statistics

Description Usage Arguments Value

View source: R/count_stats.R

Description

This function calculates true positive rate, false positive rate, false negative rate, false positive count, and sensitivity

Usage

1
2
3
4
5
6
7
count_stats(
  gold_standard,
  predicted_segmentation,
  k = Inf,
  percent_overlap = NULL,
  verbose = TRUE
)

Arguments

gold_standard

Gold standard segmentation mask of class nifti

predicted_segmentation

Predicted segmentation mask volume of class nifti

k

Minimum number of voxels for a segmentation cluster/component

percent_overlap

Proportion of gold standard segmentation to be overlapped by predicted

verbose

Logical indicating printing diagnostic output

Value

Matrix of results


neuroconductor/mimosa documentation built on June 5, 2020, 12:39 a.m.