| contrast_matrix {mashr} | R Documentation | 
Create contrast matrix
Description
Create contrast matrix
Usage
contrast_matrix(R, ref, name = 1:R)
Arguments
| R | the number of column for the contrast matrix | 
| ref | the reference group. It could be a number between 1,..., R, R is number of conditions, or the name of reference group. If there is no reference group, it can be the string 'mean'. | 
| name | a length R vector contains the name for conditions | 
Examples
contrast_matrix(5, 'mean')
[Package mashr version 0.2.79 Index]