make_design_matrix: make_design_matrix

Description Usage Arguments Value

View source: R/make_design_matrix.R

Description

Makes a design matrix for use by seqgendiff.

Usage

1
make_design_matrix(group_1, group_2, treat_samps = NULL, random_treat = FALSE)

Arguments

group_1

A character vector naming the columns that belong to group 1.

group_2

A character vector naming the columns that belong to group 2.

treat_samps

A character vector indicating which samples are treatment samples. NULL (default) indicates they should be randomly samples (length(group_2)).

random_treat

Logical indicating whether the number of treatment samples should be a random number between 2 and length(group_1) + length(group_2) - 2, or not. Defaults to FALSE - there will be length(group_2) treatment samples.

Value

A design matrix.


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