getGroupsFromTable: getGroupsFromTable

View source: R/utils.R

getGroupsFromTableR Documentation

getGroupsFromTable

Description

Retrieve groupings given a table containing some categorical columns

Usage

getGroupsFromTable(tt, cols = NULL, minGrpSize = 2, maxGrpCount = nrow(tt) - 1)

Arguments

tt

table to retrieve groupings for

cols

(Optional) predefined column names (in the form of a character vector) or indices (an integer vector) to consider. All other columns in the annotation table will be ignored.

minGrpSize

Minimum number of items required to form a group in comparison

maxGrpCount

Maximum number of groups to be considered

Value

List of groupings. Each element corresponds to a categorical column in the table and contains the row indices for each category

Author(s)

Fabian Mueller


GreenleafLab/ChrAccR documentation built on March 22, 2023, 11:42 p.m.