group_func_2 {SelectBoost} | R Documentation |
Generate groups using community analysis.
Description
group_func_2
creates groups of variables based on community analysis.
Usage
group_func_2(absXcor, c0)
Arguments
absXcor |
A numeric matrix. The absolute value of a correlation or distance matrix. |
c0 |
A numeric scalar. The thresholding |
Details
This is a function used to create a list of groups using an input matrix and a
thresholding value c0. A group is made, for every column in the input matrix.
It uses the infomap.community
function of the igraph
package.
Value
A list with one entry: the list of groups. Attributes:
"type": "normal"
"length.groups" the length of each groups.
Author(s)
Frederic Bertrand, frederic.bertrand@utt.fr
References
selectBoost: a general algorithm to enhance the performance of variable selection methods in correlated datasets, Frédéric Bertrand, Ismaïl Aouadi, Nicolas Jung, Raphael Carapito, Laurent Vallat, Seiamak Bahram, Myriam Maumy-Bertrand, Bioinformatics, 2020. doi:10.1093/bioinformatics/btaa855
See Also
group_func_2
boost.findgroups
, infomap.community
and igraph
.
Examples
set.seed(314)
group_func_2(cor(matrix(rnorm(100),10,10)),.5)