convertDVH {DVHmetrics} | R Documentation |
Convert between differential and cumulative DVH
Description
Convert between differential and cumulative DVH as well as between dose units.
Usage
convertDVH(x, toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
## S3 method for class 'matrix'
convertDVH(x, toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
## S3 method for class 'DVHs'
convertDVH(x, toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
## S3 method for class 'DVHLst'
convertDVH(x, toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
## S3 method for class 'DVHLstLst'
convertDVH(x, toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
Arguments
x |
One DVH (object of class |
toType |
|
toDoseUnit |
|
interp |
|
nodes |
|
rangeD |
|
perDose |
|
Value
Depending on the input, an object of class matrix
, DVHs
, DVHLst
, or DVHLstLst
.
See Also
convertDVHsmooth
,
readDVH
,
showDVH
Examples
res <- convertDVH(dataMZ[[c(1, 1)]],
toType="cumulative",
toDoseUnit="CGY")