design_matrix: Extract design matrix

View source: R/model.R

design_matrixR Documentation

Extract design matrix

Description

Accessor method for extracting a design matrix from a sleuth object

Usage

design_matrix(obj, which_model = "full")

Arguments

obj

a sleuth object

which_model

a character string of the model

Value

the model.matrix used to fit which_model


pachterlab/sleuth documentation built on Nov. 17, 2022, 4:51 p.m.