DesignModelMatrix | R Documentation |
This creates a model matrix that groups the samples according to the experimental groups used downstream in statistical analyses.
DesignModelMatrix(seuratObj, contrast_columns, sampleIdCol = "cDNA_ID")
seuratObj |
The seurat object |
contrast_columns |
A vector of columns to contrast |
sampleIdCol |
An additional column denoting the variable containing the sample (for grouping) |
A model matrix (samples x groups data frame.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.