make_treat_factor: make_treat_factor

Description Usage Arguments Value

View source: R/make_treat_factor.R

Description

Returns a treatment factor for use in batch-correction and differential-expression analyses.

Usage

1
make_treat_factor(data, group_1, group_2)

Arguments

data

A matrix of counts with named columns.

group_1

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

group_2

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

Value

A factor vector of treatments corresponding to the columns of the input data.


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