showDVH | R Documentation |
Displays dose volume histograms: Either one diagram per patient - including multiple structures. Or one diagram per structure - including multiple patients.
showDVH(x, cumul=TRUE, byPat=TRUE, patID=NULL, structure=NULL,
rel=TRUE, guessX=TRUE, guessY=TRUE, thresh=1, addMSD=FALSE,
show=TRUE, visible=FALSE, fixed=TRUE,
fun=list(location=mean, uncertainty=sd))
## S3 method for class 'DVHs'
showDVH(x, cumul=TRUE, byPat=TRUE, patID=NULL, structure=NULL,
rel=TRUE, guessX=TRUE, guessY=TRUE, thresh=1, addMSD=FALSE,
show=TRUE, visible=FALSE, fixed=TRUE,
fun=list(location=mean, uncertainty=sd))
## S3 method for class 'DVHLst'
showDVH(x, cumul=TRUE, byPat=TRUE, patID=NULL, structure=NULL,
rel=TRUE, guessX=TRUE, guessY=TRUE, thresh=1, addMSD=FALSE,
show=TRUE, visible=FALSE, fixed=TRUE,
fun=list(location=mean, uncertainty=sd))
## S3 method for class 'DVHLstLst'
showDVH(x, cumul=TRUE, byPat=TRUE, patID=NULL, structure=NULL,
rel=TRUE, guessX=TRUE, guessY=TRUE, thresh=1, addMSD=FALSE,
show=TRUE, visible=FALSE, fixed=TRUE,
fun=list(location=mean, uncertainty=sd))
x |
A single DVH (object of class |
cumul |
|
byPat |
|
patID |
|
structure |
|
rel |
|
guessX |
|
guessY |
|
thresh |
|
addMSD |
|
show |
|
visible |
|
fixed |
|
fun |
|
If multiple diagrams are produced, they are shown in the same graphics device. If interactive inspection is required, make sure you use an R development environment that saves previous diagrams and allows navigating between them.
For addMSD=TRUE
, the number of DVH nodes (dose values) is reduced by 1/3 of the maximum number of nodes in x
. Before calculating the point-wise mean and SD, DVHs in x
are first linearly interpolated using the same set of nodes.
Silently returns a ggplot
diagram object, or - when multiple diagrams are constructed - a list of ggplot
diagram objects.
ggplot
,
readDVH
,
saveDVH
,
getMeanDVH
showDVH(dataMZ, byPat=TRUE, structure=c("HEART", "AMYOCL"))
# matches patients P123 and P234
showDVH(dataMZ, byPat=FALSE, patID="23", fixed=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.