makeGroups: Make Groups

Description Arguments Details Author(s) Examples

Description

This function makes the groups input variable to ClusterSignificance from a makeMatrix generated matrix.

Arguments

mat

The matrix for which the groups should be generated.

names

A character vector indicating the names of the groups.

...

Arguments to pass on.

Details

This function is specifically designed for the generation of the groups argument corresponding to the output from the makeMatrix function. It always results in 2 groups with each group being assigned an equal amount of points in the matrix.

Author(s)

Jason Serviss

Examples

1
2
mat <- makeMatrix(x=c(0,1), y=c(0,1), dim=2, points=10)
groups <- makeGroups(mat, names=c("grp1", "grp2"))

GranderLab/ClusterSignificanceExtras documentation built on May 6, 2019, 6:30 p.m.