| readConstraint {DVHmetrics} | R Documentation |
Read constraint definitions from text file
Description
Reads the definition of quality assurance constraints from a text file.
Usage
readConstraint(x, ...)
Arguments
x |
|
... |
Further arguments passed to |
Details
This is a wrapper for read.table.
The text file should contain three columns with the column names patID, structure, constraint in the first line. Each further line then defines one constraint and the scope it applies to in terms of patients and structures. See checkConstraint for the definition of a constraint and for the definition of a scope. Example content:
"patID" "structure" "constraint"
"*" "HEART" "D1CC < 20Gy"
"234" "*" "V10% > 8CC"
Value
A data.frame with columns patID, structure, constraint that can be used in functions checkConstraint and showConstraint.
See Also
read.table,
checkConstraint,
saveConstraint,
showConstraint
Examples
## Not run:
readConstraint("constraint.txt")
readConstraint()
## End(Not run)