reorder_subcortical.Rd
to reorder subcortical nodes for visualization
reorder_subcortical(data)
a vector of edge values with a length of 7021 or 23871
a vector of edge values with the correct subcortical nodes ordering
The subcortical node elements in the previously extracted HCP matrices are not ordered correctly. Hence the visualizations (vizHeatmap()
or vizConnectogram()
) of the subcortical nodes generated from these HCP matrices are not accurate; Specifically the positioning of the subcortical nodes within the subcortical network is wrong, while the cortical nodes are unaffected. This function thus corrects the ordering of the subcortical nodes
FC.vector=runif(23871, min = -1, max = 1)
FC.vector.reordered=reorder_subcortical(FC.vector)