scaleData-methods: Scale data

scaleDataR Documentation

Scale data

Description

Scale and center the data. Individually regress variables provided in vars.regress using using a linear model. Other models are under development.

Usage

scaleData(
  object,
  assay.type = "RNA",
  genes.use = NULL,
  scale.max = 10,
  vars.regress = NULL,
  blocksize = 500
)

## S4 method for signature 'CellRouter'
scaleData(
  object,
  assay.type = "RNA",
  genes.use = NULL,
  scale.max = 10,
  vars.regress = NULL,
  blocksize = 500
)

Arguments

object

CellRouter object.

assay.type

character; the type of data to use.

genes.use

vector; genes to scale/center. Default is all genes in normalized data.

scale.max

numeric; max value in scaled data.

vars.regress

character vector; variables to regress out.

blocksize

numeric; size of the blocks in which genes will be scaled.

Value

CellRouter object with the scale.data slot updated.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.