Spectrum (version 0.2)

pca: pca: A pca function

Description

pca: A pca function

Usage

pca(mydata, labels = FALSE, dotsize = 3, axistextsize = 18,
  legendtextsize = 18)

Arguments

mydata

Data frame or matrix: matrix or data frame with samples as columns, features as rows

labels

Factor: to label the plot with colours

dotsize

Numerical value: dot size

axistextsize

Numerical value: axis text size

legendtextsize

Numerical value: legend text size

Value

A pca plot object

Examples

Run this code
# NOT RUN {
ex_pca <- pca(blobs[,1:50])
# }

Run the code above in your browser using DataCamp Workspace