Description Usage Arguments Details Author(s) Examples
Draw FROC curves and AFROC curves for user's specified modalities and user's specified readers. Using this function repeatedly, we can draw the different reader and modality in a same plane simultaneously.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | DrawCurves_MRMC_pairwise(
StanS4class,
modalityID,
type_to_be_passed_into_plot = "p",
title = TRUE,
readerID,
Colour = TRUE,
DrawFROCcurve = TRUE,
DrawAFROCcurve = FALSE,
DrawCFPCTP = TRUE,
Draw.Flexible.upper_y = TRUE,
Draw.Flexible.lower_y = TRUE,
new.imaging.device = TRUE,
summary = TRUE,
color_is_changed_by_each_reader = FALSE,
type = 1
)
|
StanS4class |
An S4 object of class To be passed to |
modalityID |
This is a vector indicating modalityID whose component is natural namber. |
type_to_be_passed_into_plot |
"l" or "p". |
title |
Logical: |
readerID |
This is a vector indicating readerID whose component is natural namber. |
Colour |
Logical, that is |
DrawFROCcurve |
Logical: |
DrawAFROCcurve |
Logical: |
DrawCFPCTP |
Logical: |
Draw.Flexible.upper_y |
Logical, that is |
Draw.Flexible.lower_y |
Logical, that is |
new.imaging.device |
Logical: |
summary |
Logical: |
color_is_changed_by_each_reader |
A logical, if |
type |
An integer, for the color of background and etc. |
By drawing different modality FROC curves in the same plane, we can compare the modality.
E.g., if some modality FROC curve is upper
then other modality curves,
then we may say that the upper modality is better
observer performance, i.e., higher AUC.
Issei Tsunoda
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | ## Not run:
#1) Fit a model to data by the following:
fit <- fit_Bayesian_FROC(dataList.Chakra.Web, ite = 1111)
#Note that the return value "fit" is an object of an inherited S4 class from stanfit
#2) Using the above S4 class object, we draw the curves.
DrawCurves_MRMC_pairwise(fit,
modality = 1,
reader = 4
)
#3) By changing the modality (or reader),
#we can draw the curves with respect to different modalities.
#This shows the comparison of modalites.
DrawCurves_MRMC_pairwise(fit,
modality = 2,
reader = 4
)
DrawCurves_MRMC_pairwise(fit,
modality = 3,
reader = 4
)
#4) By repeating in this manner for different modalities or readers,
# we can draw AFROC (FROC) curves in a single imaging device.
# Revised 2019 Nov 27
#5) If you want to draw the FROC curves
#for reader ID =1,2,3,4 and modality ID =1,2, then the code is as follows;
DrawCurves_MRMC_pairwise(
fit,
modalityID = c(1,2,3,4),
readerID = c(1,2)
)
# Each color of curves corresponds to the modality ID.
# So, even if curves are different readers and same modality, then color is same.
# Close the graphic device
Close_all_graphic_devices()
## End(Not run) # dottest
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.