Uses a data frame containing sample metadata to create a design matrix for subsequent analyses.
designFromSampInfo(sampInfo, groupCol, removeColName = TRUE)
sampInfo | The data frame that contains sample metadata. |
---|---|
groupCol | The sampInfo column that is used to create the design matrix. |
removeColName | Remove column name from design matrix? |
The design matrix.