UniqueCombinations: Generate Unique Combinations

Description Usage Arguments Examples

View source: R/UniqueCombinations.R

Description

Generate all possible unique combinations of x. Primarily used as a helper function for CellCounts, but may be occasionally useful to the end user.

Usage

1
2
3
4
5
6
7
UniqueCombinations(x, as.matrix)

## S3 method for class 'COMPASSContainer'
UniqueCombinations(x, as.matrix = FALSE)

## Default S3 method:
UniqueCombinations(x, as.matrix = FALSE)

Arguments

x

Either a COMPASSContainer, or a list of matrices.

as.matrix

Boolean; if TRUE we return results as a matrix; otherwise, we return the results as a list.

Examples

1

RGLab/COMPASS documentation built on Feb. 11, 2021, 3:23 p.m.