ScaleData: Scale and center the data

Description Usage Arguments Value

Description

Scale and center the data

Usage

1
2
ScaleData(object, genes.use = NULL, data.use = NULL, do.scale = TRUE,
  do.center = TRUE, scale.max = 10)

Arguments

object

Seurat object

genes.use

Vector of gene names to scale/center. Default is all genes in object@data.

data.use

Can optionally pass a matrix of data to scale, default is object@data[genes.use,]

do.scale

Whether to scale the data.

do.center

Whether to center the data.

scale.max

Max value to accept for scaled data. The default is 10. Setting this can help reduce the effects of genes that are only expressed in a very small number of cells.

Value

Returns a seurat object with object@scale.data updated with scaled and/or centered data.


nukappa/seurat_v2 documentation built on May 24, 2019, 9:57 a.m.