View source: R/write_fs_curv.R
fs.get.morph.file.format.from.filename | R Documentation |
Given a morphometry file name, derive the proper file format, based on the end of the string. Case is ignored, i.e., cast to lowercase before checks. If the filepath ends with "mgh", returns format "mgh". For suffix "mgz", returns "mgz" format. For all others, returns "curv" format.
fs.get.morph.file.format.from.filename(filepath)
filepath |
string. A path to a file. |
format, string. The format, one of c("mgz", "mgh", "curv", "gii", "smp").
Other morphometry functions:
fs.get.morph.file.ext.for.format()
,
read.fs.curv()
,
read.fs.mgh()
,
read.fs.morph.gii()
,
read.fs.morph()
,
read.fs.volume()
,
read.fs.weight()
,
write.fs.curv()
,
write.fs.label.gii()
,
write.fs.mgh()
,
write.fs.morph.asc()
,
write.fs.morph.gii()
,
write.fs.morph.ni1()
,
write.fs.morph.ni2()
,
write.fs.morph.smp()
,
write.fs.morph.txt()
,
write.fs.morph()
,
write.fs.weight.asc()
,
write.fs.weight()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.