Learn R Programming

ribiosPlot (version 1.3.0)

as.matrix.PCAScoreMatrix: Coerece a PCAScoreMatrix into score matrix

Description

Coerece a PCAScoreMatrix into score matrix

Usage

# S3 method for PCAScoreMatrix
as.matrix(x, ...)

Value

A numeric matrix, the score matrix

Arguments

x

A PCAScoreMatrix S3 object

...

Currently ignored

Examples

Run this code

myPCmat <- PCAScoreMatrix(matrix(rnorm(15),ncol=3), c(0.25, 0.15, 0.1))
as.matrix(myPCmat)

Run the code above in your browser using DataLab