Learn R Programming

waveTiling (version 1.14.0)

makeDesign: Construct design matrix

Description

Helper function to construct a design matrix to be used in the wavelet-based transcriptome analysis.

Usage

makeDesign(design=c("time","circadian","group","factorial"), replics, noGroups, factor.levels=NULL)

Arguments

design
character indicating the design of the tiling array experiment. Currently, the following designs are implemented: time for a time-course design based on polynomial contrasts; circadian for circadian rhythm analysis; group for unordered one-factor designs; factorial for two-factor designs
replics
Numeric vector containing the number of replicates for each group. The vector length should be equal to the indicated number of groups.
noGroups
Number of groups in the tiling array experiment
factor.levels
Factor levels to use if applying two-factor design

Value

Examples

Run this code
  makeDesign(design="time",replics=rep(3,6),noGroups=6)

Run the code above in your browser using DataLab