calcPCA {phantasus}R Documentation

Principal Component Analysis.

Description

calcPCA calculates PCA-matrix for the given ExpressionSet and returns this matrix encoded to JSON.

Usage

calcPCA(es, replacena = "mean")

Arguments

es

an ExpressionSet object, should be normalized

replacena

method for replacing NA values (mean by default)

Value

json with full description of the plot for plotly.js

Examples

## Not run: 
data(es)
calcPCA(es)

## End(Not run)

[Package phantasus version 1.2.1 Index]