computeMatSimilarity {visCorVar} | R Documentation |
Performs the computation of the similarity matrices for each group of blocks.
computeMatSimilarity(res_matCorAddVar)
res_matCorAddVar |
res_matCorAddVar is the output of the function matCorAddVar. |
The function computeMatSimilarity performs the computation of the similarity matrices for each group of blocks. The similarity between two variables is an approximation of the correlation between these two variables.
a list containing
liste_mat_similarity_group type : list of matrices. The ith element of liste_mat_similarity_group contains the similarity matrices for the blocks of the ith group of blocks and the response variables.
res_matCorAddVar. The output of the function matCorAddVar.
load(system.file("extdata", "res_data_integration.rda", package="visCorVar")) load(system.file("extdata", "block_Y.rda", package="visCorVar")) load(system.file("extdata", "var_interest.rda", package="visCorVar")) comp = 1:2 cutoff_comp = 0.8 res_matCorAddVar = matCorAddVar(res_data_integration, block_Y, cutoff_comp, var_interest, comp) res_compute_mat_similarity = computeMatSimilarity(res_matCorAddVar)