Learn R Programming

RadOnc (version 1.0.5)

read.DVH: Read DVH data from input file

Description

Function to extract DVH data from input file(s). Supported file formats include Aria (v8-11), DICOM-RT, and CadPlan.

Usage

read.DVH(file, type=NA, verbose=TRUE)

Arguments

file
Location of file containing relevant DVH information. One or more files may be specified. If multiple files are specified, all will be imported simultaneously.
type
Character vector specifying the DVH file format corresonding to each element in file. Value(s) must be one of "aria8", "aria10", "aria11", "dicom", or "cadplan" (default is
verbose
Single 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 a single input file. If multiple files are specified, a list of DVH.list objects will be returned.

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