Learn R Programming

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

RJafroc (version 1.0.1)

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 . 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. The package is used extensively in the online appendices of the cited book. Directions for accessing the online material are available by following the software tab of .

Copy Link

Version

Install

install.packages('RJafroc')

Monthly Downloads

282

Version

1.0.1

License

GPL-3

Maintainer

Dev Chakraborty

Last Published

February 18th, 2018

Functions in RJafroc (1.0.1)

DfExtractDataset

Extract a subset of modalities and readers from a dataset
StSignificanceTestingSingleFixedFactor

Perform significance testing for single fixed factor analysis
PlotRsmOperatingCharacteristics

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

Binormal model AUC function
UtilOutputReport

Generate a formatted report file
UtilPhysical2IntrinsicRSM

Convert from physical to intrinsic RSM parameters
dataset04

dataset04
dataset05

dataset05
datasetCrossedModality

datasetCrossedModality
datasetDegenerate

datasetDegenerate
Df2RJafrocDataset

Convert ratings arrays to an RJafroc dataset
DfBinDataset

Returns a binned dataset
PlotBinormalFit

Plot binormal fit
PlotCbmFit

Plot CBM fitted curve
StSignificanceTestingCrossedModalities

Perform significance testing using crossed modalities analysis
StSignificanceTestingCadVsRadiologists

Significance testing, CAD vs. radiologists
UtilAucCBM

CBM AUC function
UtilPseudoValues

Calculate pseudovalues
UtilAucPROPROC

PROPROC AUC function
dataset01

dataset01
dataset12

dataset12
dataset13

dataset13
DfLroc2Roc

Convert an LROC dataset to a ROC dataset
DfFroc2Roc

Convert an FROC dataset to an ROC dataset
SimulateFrocDataset

Simulates an MRMC uncorrelated FROC dataset using the RSM
RJafroc-package

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

Simulates an individual binormal model ROC dataset
SsFROCPowerGivenJK

Statistical power in ROC and FROC paradigms from an ROC/FROC/LROC NH binned dataset
UtilIntrinsic2PhysicalRSM

Convert from intrinsic to physical RSM parameters
UtilLesionDistribution

Lesion distribution matrix
dataset06

dataset06
dataset07

dataset07
DfReadCrossedModalities

Read a crossed-modality data file
DfReadDataFile

Read a data file
FitCbmRoc

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

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

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

Perform significance testing, DBMH or ORH
UtilLesionWeights

Lesion weights matrix
UtilMeanSquares

Calculate mean squares
dataset08

dataset08
dataset09

dataset09
dataset10

dataset10
dataset11

dataset11
DfReadLrocDataFile

Read a LROC data file
DfSaveDataFile

Save ROC data file in a different format
ExampleCompare3ProperRocFits

Compare three proper-ROC curve fitting models
FitBinormalRoc

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

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

Generate a power table
UtilAucsRSM

RSM ROC/AFROC AUC calculator
UtilFigureOfMerit

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

dataset02
dataset03

dataset03
dataset14

dataset14
datasetCadLroc

datasetCadLroc
PlotEmpiricalOperatingCharacteristics

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

Convert an FROC dataset to an AFROC dataset