R/minc_vertex_statistics.R
vertexSummaries.RdThis function is used to compute the mean, standard deviation, sum, or variance of every vertex in a set of vertex files.
vertexMean(filenames) vertexSum(filenames) vertexVar(filenames) vertexSd(filenames)
| filenames | Filenames of the vertex volumes across which to create the descriptive statistic. |
|---|
The output will be a single vector containing as many elements as there are vertices in the input files.
vertexMean: mean
vertexSum: sum
vertexVar: var
vertexSd: standard deviation
vertexLm
# NOT RUN { # read the text file describing the dataset gf <- read.csv("control-file.csv") # compute the mean at every voxel of all files. means <- vertexMean(gf$filenames) # }