contrastiveCov: Contrastive Covariance Matrices

Description Usage Arguments Value

View source: R/contrastiveCov.R

Description

Compute the list of contrastive covariance matrices.

Usage

1
contrastiveCov(target, background, contrasts, center, scale)

Arguments

target

The target (experimental) data set, in a standard format such as a data.frame or matrix.

background

The background data set, in a standard format such as a data.frame or matrix.

contrasts

A numeric vector of the contrastive parameters.

center

A logical indicating whether the target and background data sets should be centered to mean zero.

scale

A logical indicating whether the target and background data sets should be scaled to unit variance.

Value

A list of contrastive covariance matrices. Each element has an associated contrastive parameter in the contrasts vector.


scPCA documentation built on Nov. 8, 2020, 6 p.m.