onestepPCA: Principal Component Analysis

Description Usage Arguments Value Author(s) Examples

Description

This function perform PCA with one step code or step-by-step.

Usage

1
onestepPCA(data, trait, colour, label = FALSE)

Arguments

data

Data matrix

trait

Sample information for PCA plot

colour

One of the trait for colour in PCA plot

label

Whether use the label in PCA plot or not Defaults to FALSE

Value

PCA plot

Author(s)

WKL

Examples

1
onestepPCA(data, trait, colour="Gender", label=FALSE)

wkl1990/MyPackage documentation built on May 26, 2019, 6:36 a.m.