Learn R Programming

SelectBoost (version 2.2.2)

group_func_1: Generate groups by thresholding.

Description

group_func_1 creates groups of variables based on thresholding the input matrix.

Usage

group_func_1(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.

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 and boost.findgroups

Examples

Run this code
set.seed(314)
group_func_1(cor(matrix(rnorm(50),10,5)),.4)

Run the code above in your browser using DataLab