build.designmatrix.intercept: Constructs a design matrix for running CSIDE with only an...

View source: R/CSIDE_class.R

build.designmatrix.interceptR Documentation

Constructs a design matrix for running CSIDE with only an intercept term

Description

Constructs a design matrix for running CSIDE with only an intercept term

Usage

build.designmatrix.intercept(myRCTD, barcodes = NULL)

Arguments

myRCTD

an RCTD object with annotated cell types e.g. from the run.RCTD function.

barcodes

(default NULL) the barcodes, or pixel names, of the SpatialRNA object to be used when creating the design matrix.

Value

A design matrix containing the covariates for running CSIDE. The rownames represent pixel names and are a subset of the pixels in the SpatialRNA object. The column represents the intercept


lulizou/spASE documentation built on May 22, 2024, 5:24 a.m.