projectionplotvariables: Projection Plot Variables

Description Usage Arguments Details Value

Description

Calculates the variables necessary to produce a projection plot.

Usage

1

Arguments

Y

The data. A m by n matrix, where m is the number of samples and n is the number of features.

X

A m by p matrix containing the factor(s) of interest.

W

A m by k matrix containing the estimated unwanted factors.

Details

Typically intended for internal use, and called after adjustment for known covariates (Z).

Value

A list containing

byx

Regression coefficients from regressing Y on X.

bwx

Regression coefficients from regressing W on X.

projectionplotalpha

A reparameterization of alpha.

projectionplotW

A reparameterization of W.


ruv documentation built on Aug. 31, 2019, 1:04 a.m.