| build_design_matrix | R Documentation |
Creates a design matrix incorporating the group variable and optional covariates.
build_design_matrix(metadata, group, covariates = NULL)
metadata |
A data frame containing sample metadata |
group |
A character string specifying the grouping variable column name |
covariates |
A character vector of covariate column names (optional) |
A design matrix suitable for limma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.