set.reference.obj | R Documentation |
The function set.reference.obj
adds to an espadon object
the information identifying the espadon objects from which it derives.
set.reference.obj(obj, ref.obj, add = TRUE)
obj |
espadon object of class "dvh", "fan", "histo", "histo2D", "mesh", "rtplan", "struct", "undef" or "volume". |
ref.obj |
espadon object of class "dvh", "fan", "histo", "histo2D", "mesh", "rtplan", "struct", "undef" or "volume". List of espadon objects. |
add |
Boolean. If TRUE, the reference objects are added to those already
contained by |
Returns the espadon object obj
, containing the ref.object.alias
and ref.object.info fields identifying its reference objects
# loading of toy-patient objects (decrease dxyz for better result)
step <- 6
pat <- toy.load.patient (modality = c("ct", "rtdose", "rtstruct"),
roi.name = c("eye"), dxyz = rep (step, 3),
beam.nb = 3)
display.obj.links(pat)
pat$rtstruct[[1]] <- set.reference.obj(pat$rtstruct[[1]],pat$ct[[1]])
display.obj.links(pat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.