write.fcsv: write fiducials in slicer4 format

Description Usage Arguments Examples

View source: R/fiducials.r

Description

write fiducials in slicer4 format

Usage

1
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

1
2
3
4
5
require(Rvcg)
data(dummyhead)
write.fcsv(dummyhead.lm)
## remove file
unlink("dummyhead.lm.fcsv")

Example output

Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 
Loading required package: Rvcg

Morpho documentation built on Sept. 9, 2021, 9:07 a.m.