makeDesign {waveTiling}R Documentation

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

numeric matrix

Author(s)

Kristof De Beuf <kristof.debeuf@ugent.be>

Examples

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

[Package waveTiling version 1.26.0 Index]