TFCE | R Documentation |
Given a statistical map on a 3D mesh this function computed the related TFCE map. The 3D mesh is described as a graph using a two-columns matrix the mesh edges, each row containing the vertex ID of a edge.
TFCE(h, A, NNmatrix, E = 0.5, H = 2, deltah = 0.01)
h |
A V-dimensional vector (V = number of vertices in the ventricular mesh) containing the values of a statistic at each vertex in the mesh. |
A |
A V-dimensional vector containing the area associated with a vertex, usually its Voronoi area. |
NNmatrix |
A Nx2 matrix containing the mesh edges. Important: to speed up the execution please avoid repetitions ofthe form (A,B) and (B,A) in the matrix. |
E |
TFCE parameter, by default fixed to 0.5. |
H |
TFCE parameter, by default fixed to 2. |
deltah |
discrete integral sampling dimension, by default fixed to 2. |
A V-dimensional vector containig the TFCE score computed at each vertex.
TFCEscores = TFCE(h, A, NNmatrix) #run with default TFCE parameters.
TFCEscores = TFCE(h, A, NNmatrix, deltah=0.02) #change discrete integral sampling.
TFCEscores = TFCE(h, A, NNmatrix, E=1, H=1, deltah=0.02) #user default TFCE parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.