Description Usage Arguments Value Author(s) Examples
This function perform PCA with one step code or step-by-step.
1 | onestepPCA(data, trait, colour, label = FALSE)
|
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 |
PCA plot
WKL
1 | onestepPCA(data, trait, colour="Gender", label=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.