This package implements the remove unwanted variation (RUV) methods of Risso et al. (2014) for the normalization of RNA-Seq read counts between samples.
makeGroups
(Package: RUVSeq) :
Make a matrix suitable for use with RUVSeq methods such as code{link{RUVs
Each row in the returned matrix corresponds to a set of replicate samples. The number of columns is the size of the largest set of replicates; rows for smaller sets are padded with -1 values.