buildPatterns {gaga} | R Documentation |
Creates a matrix indicating which groups are put together under each
pattern. The number of possible patterns increases very fast as the
number of groups increases. This function provides an easy way to
compute all possible patterns.
The output of this function is usually used for the patterns
parameter of the lmFit
function.
buildPatterns(groups)
groups |
Character containing the names of the groups at which
samples may belong to.
If the output of the function is going to be used in |
buildPatterns(groups=c('GroupControl','GroupA','GroupB'))