harmanScores {Harman} | R Documentation

## A Principal components prcomp function tweaked for Harman

### Description

A tweaking of `stats::prcomp` such that for the svd, the transpose of u is used instead of v when the number of assays is less than the number of samples.

### Usage

    harmanScores(x)

### Arguments

`x` | matrix, data matrix of values to perform PCA on.

### Value

scores, a prcomp-like object with rotation, scores and the center values. The scores are corrected, but all three are needed later to reconstruct the data.

[Package Harman version 1.16.0 Index]