Learn R Programming

Seurat (version 1.3)

RegressOut: Regress out technical effects and cell cycle

Description

Remove unwanted effects from scale.data

Usage

RegressOut(object, latent.vars, genes.regress = NULL, do.scale = TRUE, ...)

Arguments

object

Seurat object

latent.vars

effects to regress out

genes.regress

gene to run regression for (default is all genes)

do.scale

Z-normalize the residual values (default is TRUE)

Value

Returns Seurat object with the scale.data (object@scale.data) genes returning the residuals from the regression model