CalcVarExpRatio: Calculate the ratio of variance explained by ICA or PCA to...

Description Usage Arguments Value

Description

Calculate the ratio of variance explained by ICA or PCA to CCA

Usage

1
CalcVarExpRatio(object, reduction.type = "pca", grouping.var, dims.use)

Arguments

object

Seurat object

reduction.type

type of dimensional reduction to compare to CCA (pca, pcafast, ica)

grouping.var

variable to group by

dims.use

Vector of dimensions to project onto (default is the 1:number stored for cca)

Value

Returns Seurat object with ratio of variance explained stored in object@meta.data$var.ratio


mayer-lab/SeuratForMayer2018 documentation built on May 25, 2019, 9:34 p.m.