View source: R/read_fs_label.R
read.fs.label | R Documentation |
Read a label file.
read.fs.label(filepath, format = "auto", ...)
filepath |
string. Full path to the input label file. |
format |
character string, one of 'auto' to detect by file extension, 'asc' for native FreeSurfer ASCII label format, or 'gii' for GIFTI label format. |
... |
extra paramters passed to the respective label function for the format |
See read.fs.label.native
for more details, including important information on loading FreeSurfer volume labels.
Other label functions:
read.fs.label.gii()
,
read.fs.label.native()
,
write.fs.label()
labelfile = system.file("extdata", "lh.entorhinal_exvivo.label",
package = "freesurferformats", mustWork = TRUE);
label = read.fs.label(labelfile);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.