Calculate DMEAN and other dose metrics from the (interpolated) differential DVH without relying on the values exported by the TPS.
getDMEAN(x, interp=c("linear", "spline", "ksmooth", "smoothSpl"),
nodes=5001L)# S3 method for DVHs
getDMEAN(x, interp=c("linear", "spline", "ksmooth", "smoothSpl"),
nodes=5001L)
# S3 method for DVHLst
getDMEAN(x, interp=c("linear", "spline", "ksmooth", "smoothSpl"),
nodes=5001L)
# S3 method for DVHLstLst
getDMEAN(x, interp=c("linear", "spline", "ksmooth", "smoothSpl"),
nodes=5001L)
One DVH (object of class DVHs
, multiple DVHs from one patient with multiple structures (object of class DVHLst
), or multiple DVHs from many patients, each with multiple structures (object of class DVHLstLst
). See readDVH
.
character
. Method of interpolation between DVH points: Linear interpolation applies to the cumulative DVH (recommended). Spline interpolation with splinefun
, local polynomial regression with locpoly
, and smoothing splines with smooth.spline
apply to the differential DVH (not recommended).
numeric
. Minimum number of nodes to use in interpolation. Number of available nodes is kept as is for NULL
or if larger than nodes
.
A data frame with the following value(s).
Patient ID.
Structure name.
Minimum dose.
Maximum dose.
Mean dose.
Median dose.
Dose standard deviation.
Dose mode.
Mean dose as exported from the TPS (if available).
Median dose as exported from the TPS (if available).
Minimum dose as exported from the TPS (if available).
Maximum dose as exported from the TPS (if available).
getMetric
,
convertDVHsmooth
,
approxfun
,
splinefun
,
smooth.spline
,
dpill
,
locpoly
# NOT RUN {
getDMEAN(dataMZ[[1]], interp="linear")
# }
Run the code above in your browser using DataLab