makeDesign: Construct design matrix

Description Usage Arguments Value Author(s) Examples

View source: R/helperFunctions.R

Description

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

Usage

1
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

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

waveTiling documentation built on May 2, 2019, 4:46 p.m.