computeRVmat | R Documentation |
This function computes a NxN modified RV matrix
computeRVmat(DataList = DataList, dist = TRUE, verbose = TRUE)
DataList |
a list with matrices |
dist |
boolean if TRUE distance object is returned |
verbose |
boolean if TRUE progressbar is printed to the console |
RVsS |
a square similarity matrix of |
## Not run:
CICA_data <- Sim_CICA(Nr = 15, Q = 5, R = 4, voxels = 100, timepoints = 10,
E = 0.4, overlap = .25, externalscore = TRUE)
#Compute single subject ICAs (nClus equals length(ExampleData))
output <- CICA(DataList = CICA_data$X, nStarts = 1,
nComp = 5, nClus = 9, verbose = FALSE)
RV <- computeRVmat(DataList = output$Sr, dist = TRUE,
verbose = FALSE)
# apply hierarchical clustering on RV output
hcl <- hclust(RV)
plot(hcl)
# low dimensional visualisation using Classical Multidimensional Scaling
mds <- cmdscale(RV)
plot(mds)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.