all_combinations_treat_samples: all_combinations_treat_samples

Description Usage Arguments Value

View source: R/all_combinations_treat_samples.R

Description

Returns all combinations of treatment samples for validation purposes.

Usage

1
all_combinations_treat_samples(samples, num_treat)

Arguments

samples

A character vector of sample names.

num_treat

An integer specifying the number of treatment samples.

Value

A matrix of combinations (each column corresponds to a separate combination). There will be choose(length(samples), length(num_treat)) combinations (columns).


alextkalinka/delboy documentation built on Feb. 2, 2022, 4:19 p.m.