DesignModelMatrix: DesignModelMatrix

View source: R/PseudoBulk.R

DesignModelMatrixR Documentation

DesignModelMatrix

Description

This creates a model matrix that groups the samples according to the experimental groups used downstream in statistical analyses.

Usage

DesignModelMatrix(seuratObj, contrast_columns, sampleIdCol = "cDNA_ID")

Arguments

seuratObj

The seurat object

contrast_columns

A vector of columns to contrast

sampleIdCol

An additional column denoting the variable containing the sample (for grouping)

Value

A model matrix (samples x groups data frame.)


bimberlabinternal/CellMembrane documentation built on Nov. 15, 2024, 9:34 p.m.