Learn R Programming

RadOnc (version 1.0.8)

getStructureList: Extract a DVH list of one or more structure(s)

Description

This function is designed to isolate one or more structure(s) from a list of DVH lists (generated by applying the read.DVH() command to multiple input files)

Usage

## S3 method for class 'DVH':
getStructureList(x, structures)

## S3 method for class 'DVH.list': getStructureList(x, structures)

## S3 method for class 'list': getStructureList(x, structures)

Arguments

x
Can represent either a list of DVH lists (generated by read.DVH() applied to multiple input files) or a single object of class DVH or DVH.list.
structures
Vector used to sub-select structures from x; may be a character vector containing structure names (regular expressions may be specified if desired, see regex for more details). This parameter is

Value

  • Returns a single DVH list

See Also

DVH.list

Examples

Run this code
patients <- list(janedoe, johndoe)
	getStructureList(patients, "(?i)Liver")

Run the code above in your browser using DataLab