stimulationModel: Preparing a Dataset for a Stimulation Respone Analysis with...

Description Usage Arguments

Description

Given a dataset and a list of stimulation groups, the function pairs each stimulation group with control stimulations and defines a new cell_type variable which is the interaction of the previous cell type with stimulation group.

Usage

1
stimulationModel(data, cell_type, stim_var, controls, stim_groups)

Arguments

data

the data set to be transformed.

cell_type

a factor vector identifying which cell type each row in the data refers to.

stim_var

a vector identifying the which stimulation each row in the data refers to.

controls

a vector identifying which of the stimulations are controls.

stim_groups

a list detailing which stimulations are to be grouped together.


RGLab/flowReMix documentation built on May 8, 2019, 5:55 a.m.