| plot.mritc | R Documentation |
Visualize MRI tissue classification results.
## S3 method for class 'mritc'
plot(x, method=c("RNifti","misc3d"), ...)
x |
an object of class "mritc" |
method |
the visualisation backend to use. The default,
|
... |
any additional arguments for the relevant viewer. |
Allocate a voxel to the tissue type with the highest probability and then visualise the result.
NULL, invisibly
Prior to version 0.6.0, "misc3d" was the only viewer supported,
but owing to its system requirements "RNifti" was added as a
new default for better portability.
view, slices3d
T1 <- readMRI(system.file("extdata/t1.rawb.gz", package="mritc"),
c(91,109,91), format="rawb.gz")
mask <-readMRI(system.file("extdata/mask.rawb.gz", package="mritc"),
c(91,109,91), format="rawb.gz")
tc.icm <- mritc(T1, mask, method="ICM")
plot(tc.icm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.