checkIdenticalDims: Check Identical Dimensions

Description Arguments Author(s) Examples

Description

This function takes an input matrix and checks if any single dimension for a single group is equal to any other single dimension for a single group including itself. For example, with 2 groups with 2 dimensions each, it checks if x dimension for group 1 is exactly equal to dimension y for group 1 or dimension x or y for group 2. Returns TRUE if none are not identical and FALSE if they are.

Arguments

mat

makeMatrix function output.

groups

makeGroups function output.

ident

A boolean value. Do not alter.

Author(s)

Jason Serviss

Examples

1
2
3
4
5
6
7
mat <- makeMatrix(x=c(0,1), y=c(0,1), dim=2, points=10)
groups <- makeGroups(mat, names=c("grp1", "grp2"))
checkIdenticalDims(mat, groups)

mat <- list(matrix(rep(1,40), ncol=2))
groups <- makeGroups(mat, c("grp1", "grp2"))
checkIdenticalDims(mat, groups)

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