Learn R Programming

RadOnc (version 1.0.2)

read.DVH: Read DVH data from input file

Description

Function to extract DVH data from input file(s) in Aria (v8-11) or DICOM-RT formats

Usage

read.DVH(file, type = c(NA, "aria10", "aria11", "aria8", "dicom"), verbose = TRUE)

Arguments

file
Location of file containing relevant DVH information
type
Must be one of "aria8", "aria10", "aria11" or "dicom" (default is NA).
verbose
Logical value indicating whether or not to output verbose information and status in text

Value

  • Returns a single DVH.list object containing all DVH information from input file

See Also

DVH, DVH.list, new

Examples

Run this code
# Read two DVH example files
file1 <- system.file("extdata/John_Doe.dvh", package="RadOnc")
johndoe <- read.DVH(file=file1, type="aria10", verbose=TRUE)
file2 <- system.file("extdata/Jane_Doe.dvh", package="RadOnc")
janedoe <- read.DVH(file=file2, type="aria10", verbose=TRUE)

Run the code above in your browser using DataLab