contrastiveCov {scPCA}R Documentation

Contrastive Covariance Matrices

Description

Compute the list of contrastive covariance matrices.

Usage

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.


[Package scPCA version 1.4.0 Index]