reduceDesignTechRep {NormalyzerDE} | R Documentation |
Technical replicates are specified as duplicate strings. The first sample name corresponding for each technical replicate group is retained.
reduceDesignTechRep(designMat, techRepGroups)
designMat |
NormalyzerDE design matrix |
techRepGroups |
Technical replicates vector |
collDesignDf Reduced design matrix
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)