Description Usage Arguments Details Value Examples
Creates a Carto3D
object from an array.
1 2 |
array |
the values of the contrast parameter. |
identifier |
the identifier of the patient from which the data originated. character. REQUIRED. |
param |
the contrast parameter. character. REQUIRED. |
default_value |
the reference values of the contrast parameters (e.g. the background value). character or |
pos_default_value |
the coordinates of the observation that contains the reference value. numeric vector with length the number of dimension of array. |
voxelDim |
the voxel size with its unit of measure. A four columns data.frame with names |
rm.array |
should the object on which array argument points be removed form the global environment ? logical. |
ARGUMENTS:
pos_default_value
is active only if default_value
is set to NULL
.
An object of class Carto3D
.
1 2 3 4 5 6 7 | ## load NIFTI files
path.Pat1 <- system.file(file.path("nifti"), package = "MRIaggr")
nifti.Pat1_TTP_t0 <- readMRI(file.path(path.Pat1, "TTP_t0"), format = "nifti")
## convert them to Carto3D
Carto3D.Pat1_TTP_t0 <- constCarto3D(nifti.Pat1_TTP_t0, identifier = "Pat1", param = "TTP_t0")
class(Carto3D.Pat1_TTP_t0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.