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, columns = c(), rows = c(), replacena = "mean")

Arguments

es

an ExpressionSet object, should be normalized

columns

list of specified columns' indices (optional)

rows

list of specified rows' indices (optional)

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.0.2 Index]