Learn R Programming

SelectBoost (version 2.2.2)

group_func_2: Generate groups using community analysis.

Description

group_func_2 creates groups of variables based on community analysis.

Usage

group_func_2(absXcor, c0)

Value

A list with one entry: the list of groups. Attributes:

  • "type": "normal"

  • "length.groups" the length of each groups.

Arguments

absXcor

A numeric matrix. The absolute value of a correlation or distance matrix.

c0

A numeric scalar. The thresholding

Author

Frederic Bertrand, frederic.bertrand@utt.fr

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.

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. tools:::Rd_expr_doi("10.1093/bioinformatics/btaa855")

See Also

group_func_2 boost.findgroups, infomap.community and igraph.

Examples

Run this code
set.seed(314)
group_func_2(cor(matrix(rnorm(100),10,10)),.5)

Run the code above in your browser using DataLab