| struct.in.new.ref | R Documentation | 
The struct.in.new.ref function allows you to change the
frame of reference of a struct.
struct.in.new.ref(struct, new.ref.pseudo, T.MAT, alias = "")
| struct | "struct" class object. | 
| new.ref.pseudo | pseudonym of the frame of reference in which the struct
should be located. This  | 
| T.MAT | "t.mat" class object, created by load.patient.from.dicom, load.patient.from.Rdcm, load.T.MAT or ref.add. | 
| alias | Character string,  | 
Returns "struct" class object in the new frame of reference
new.ref.pseudo.
vol.in.new.ref
# loading of toy-patient objects (decrease dxyz for better result)
step <- 4
patient <- toy.load.patient (modality = c("mr", "rtstruct"), roi.name = "", 
                             dxyz = rep (step, 3))
S <- patient$rtstruct[[1]]
S.in.new.ref <- struct.in.new.ref (S, patient$mr[[1]]$ref.pseudo, patient$T.MAT)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.