mni.read.vertstats.column {mni.cortical.statistics}R Documentation

Read a column from a vertstats file

Description

Uses a shell command to read a column from a vertstats file.

Usage

column <- mni.read.vertstat.column(filename, column.name=NULL)

Arguments

filename

The filename

column.name

The name of the column to read from the vertstats file

Details

Uses the shell command "vertstats_extract" to return the specified column from the vertstats file. That command thus needs to be on the path of the shell from which R was started.

Value

A numeric array containing the column.

Author(s)

Jason Lerch

Examples

column <- mni.read.vertstats.column("somefile.vertstats", "tstatistics")

[Package mni.cortical.statistics version 0.9.4 Index]