Learn R Programming

⚠️There's a newer version (2.1.2) of this package.Take me there.

RJafroc (version 1.0.2)

Modeling, Analysis, Validation and Visualization of Observer Performance Studies in Diagnostic Radiology

Description

Tools for quantitative assessment of medical imaging systems, radiologists or computer aided ('CAD') algorithms. Implements methods described in a book: 'Chakraborty' 'DP' (2017), "Observer Performance Methods for Diagnostic Imaging - Foundations, Modeling, and Applications with R-Based Examples", Taylor-Francis and its Online Appendices . Data collection paradigms include receiver operating characteristic ('ROC') and its location specific extensions, primarily free-response 'ROC' ('FROC'). 'ROC' data consists of a single rating per image, where the rating is the perceived confidence level the image is of a diseased patient. 'FROC' data consists of a variable number (including zero) of mark-rating pairs per image, where a mark is the location of a clinically reportable suspicious region and the rating is the corresponding confidence level that it is a true lesion. The software supersedes the current Windows version of 'JAFROC' software . 'RJafroc' is derived from it being an enhanced R version of original Windows 'JAFROC'. Implemented are a number of figures of merit quantifying performance, functions for visualizing operating characteristics; three ROC ratings data curve-fitting algorithms: the 'binormal' model ('BM'), the contaminated binormal model ('CBM') and the radiological search model ('RSM'). Unlike the 'BM', the 'CBM' and the 'RSM' predict proper ROC curves that do not cross the chance diagonal or display inappropriate hooks near the upper right corner of the plots. 'RSM' fitting additionally yields measures of search and lesion-classification performances, in addition to the usual case-classification performance measured by the area under the 'ROC' curve. Search performance is the ability to find lesions while avoiding finding non-lesions. Lesion-classification performance is the ability to discriminate between found lesions and non-lesions. For fully crossed study designs, termed multiple-reader multiple-case, significance testing of reader-averaged figure-of-merit differences between modalities is implemented via both 'Dorfman', 'Berbaum' and 'Metz' ('DBM') and the 'Obuchowski' and 'Rockette' ('OR') methods. Single treatment analysis allows comparison of performance of a group of radiologists to a specified value, or comparison of 'CAD' performance to a group of radiologists interpreting the same cases. Sample size estimation tools are provided for 'ROC' and 'FROC' studies that allow estimation of relevant variances from a pilot study to predict required numbers of readers and cases in a pivotal study. Utility and data file manipulation functions allow data to be read in any of the currently used input formats, including Excel, and the results of the analysis can be viewed in text or Excel output files. 'RJafroc' is used extensively in the cited book and its online appendices.

Copy Link

Version

Install

install.packages('RJafroc')

Monthly Downloads

240

Version

1.0.2

License

GPL-3

Maintainer

Dev Chakraborty

Last Published

May 31st, 2018

Functions in RJafroc (1.0.2)

Df2RJafrocDataset

Convert ratings arrays to an RJafroc dataset
PlotCbmFit

Plot CBM fitted curve
UtilIntrinsic2PhysicalRSM

Convert from intrinsic to physical RSM parameters
UtilAucsRSM

RSM ROC/AFROC AUC calculator
UtilAucPROPROC

PROPROC AUC function
dataset14

dataset14
dataset03

dataset03
dataset13

dataset13
SsPowerGivenJK

Statistical power for specified numbers of readers and cases in an ROC study
SsSampleSizeKGivenJ

Number of cases, for specified number of readers, to achieve desired power
dataset04

dataset04
dataset07

dataset07
dataset11

dataset11
StSignificanceTestingCadVsRadiologists

Significance testing, CAD vs. radiologists
FitRsmRoc

Fit the radiological search model (RSM) to ROC data
UtilMeanSquares

Calculate mean squares
dataset08

dataset08
UtilOutputReport

Generate a formatted report file
SimulateRocDataset

Simulates an individual binormal model ROC dataset
dataset12

dataset12
SsPowerTable

Generate a power table
UtilPseudoValues

Calculate pseudovalues
SimulateFrocDataset

Simulates an MRMC uncorrelated FROC dataset using the RSM
UtilPhysical2IntrinsicRSM

Convert from physical to intrinsic RSM parameters
UtilAucBinormal

Binormal model AUC function
dataset05

dataset05
RJafroc-package

Modeling, Analysis, Validation and Visualization of Observer Performance Studies in Diagnostic Radiology
dataset09

dataset09
datasetCadLroc

datasetCadLroc
datasetCrossedModality

datasetCrossedModality
dataset10

dataset10
dataset06

dataset06
datasetDegenerate

datasetDegenerate
UtilAucCBM

CBM AUC function
UtilLesionWeights

Lesion weights matrix
dataset02

dataset02
UtilLesionDistribution

Lesion distribution matrix
dataset01

dataset01
DfReadLrocDataFile

Read a LROC data file
DfReadCrossedModalities

Read a crossed-modality data file
DfSaveDataFile

Save ROC data file in a different format
DfFroc2Roc

Convert an FROC dataset to an ROC dataset
DfLroc2Roc

Convert an LROC dataset to a ROC dataset
DfFroc2Afroc

Convert an FROC dataset to an AFROC dataset
DfReadDataFile

Read a data file
DfExtractDataset

Extract a subset of modalities and readers from a dataset
DfBinDataset

Returns a binned dataset
ExampleCompare3ProperRocFits

Compare three proper-ROC curve fitting models
FitBinormalRoc

Fit the binormal model to selected treatment and reader in an ROC dataset
PlotEmpiricalOperatingCharacteristics

Plot empirical operating characteristics for specified dataset, treatment and reader
PlotRsmOperatingCharacteristics

RSM predicted operating characteristics, ROC pdfs and different FOMs possible with FROC data
FitCbmRoc

Fit the contaminated binormal model (CBM) to selected treatment and reader in an ROC dataset
PlotBinormalFit

Plot binormal fit
StSignificanceTestingCrossedModalities

Perform significance testing using crossed modalities analysis
StSignificanceTestingSingleFixedFactor

Perform significance testing for single fixed factor analysis
UtilFigureOfMerit

Calculate empirical figures of merit (FOMs) for specified dataset
StSignificanceTesting

Perform significance testing, DBMH or ORH