Learn R Programming

Morpho (version 2.12)

write.fcsv: write fiducials in slicer4 format

Description

write fiducials in slicer4 format

Usage

write.fcsv(x, filename = dataname, description = NULL, slicer4.11 = FALSE)

Arguments

x

matrix with row containing 2D or 3D coordinates

filename

will be substituted with ".fcsv"

description

optional: character vector containing a description for each landmark

slicer4.11

logical: Slicer changed their fiducial format in version >= 4.11. Set TRUE if you use the latest Slicer version

Examples

Run this code
require(Rvcg)
data(dummyhead)
write.fcsv(dummyhead.lm)
## remove file
unlink("dummyhead.lm.fcsv")

Run the code above in your browser using DataLab