varianceOnEvecs {adaptiveGPCA}R Documentation

Variance along eigenvectors of Q

Description

Project the sample points stored in the rows of X along the eigenvectors of Q and find the variance along each of the projections.

Usage

varianceOnEvecs(X, Q)

Arguments

X

An n \times p data matrix, each row corresponding to a sample.

Q

A p \times p similarity matrix, either as a matrix or as its eigendecomposition (the output from eigen).

Value

A vector containing the variance of the samples along each of the eigenvectors of Q.

Examples

data(AntibioticSmall)
voe = varianceOnEvecs(AntibioticSmall$X, AntibioticSmall$Q)

[Package adaptiveGPCA version 0.1.3 Index]