Learn R Programming

waveTiling (version 1.14.0)

addPheno: Add phenotypic info to WaveTilingFeatureSet

Description

Function to add phenotypic information such as sample names or group names to a WaveTilingFeatureSet-class object

Usage

addPheno(object, noGroups, groupNames, replics, ...)

Arguments

object
object of class WaveTilingFeatureSet
noGroups
Number of groups in the tiling array experiment
groupNames
Vector containing the group or sample names in the tiling array experiment. The vector length should be equal to the indicated number of groups.
replics
Numeric vector containing the number of replicates for each group. The vector length should be equal to the indicated number of groups.
...
other arguments

Value

WaveTilingFeatureSet annotated with the phenotypic data

Examples

Run this code
## Not run: 
#   data(leafdev)
#   leafdev <- as(leafdev,"WaveTilingFeatureSet")
#   leafdev <- addPheno(leafdev,noGroups=6,groupNames=c("day8","day9","day10","day11","day12","day13"),replics=rep(3,6))
#   leafdev
# ## End(Not run)

Run the code above in your browser using DataLab