projectionplotvariables {ruv}R Documentation

Projection Plot Variables

Description

Calculates the variables necessary to produce a projection plot.

Usage

projectionplotvariables(Y, X, W)

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.


[Package ruv version 0.9.7.1 Index]