Learn R Programming

CePa (version 0.8.1)

sampleLabel: Generate data structure of sample labels

Description

Generate data structure of sample labels

Usage

sampleLabel(label, treatment, control)

Value

A sampleLabel class object

Arguments

label

sample label vector

treatment

treatment label

control

control label

Author

Zuguang Gu <z.gu@dkfz.de>

Details

Since sample label will not be modified in the analysis, this function is used to integrate all the label information in one single data object.

Examples

Run this code
sampleLabel(c("A", "B", "B", "A", "A", "A", "B", "B"), treatment = "A", control = "B")

Run the code above in your browser using DataLab