reduceDesignTechRep {NormalyzerDE}R Documentation

Remove technical replicates from design matrix.

Description

Technical replicates are specified as duplicate strings. The first sample name corresponding for each technical replicate group is retained.

Usage

reduceDesignTechRep(designMat, techRepGroups)

Arguments

designMat

NormalyzerDE design matrix

techRepGroups

Technical replicates vector

Value

collDesignDf Reduced design matrix

Examples

designDf <- data.frame(
  sample=c("a1", "a2", "b1", "b2", "c1", "c2", "d1", "d2"),
  group=c(rep("A", 4), rep("B", 4)),
  techrep=c("a", "a", "b", "b", "c", "c", "d", "d")
)
statObj <- reduceDesignTechRep(designDf, designDf$techrep)

[Package NormalyzerDE version 1.0.0 Index]