Description Usage Arguments Value Author(s) Examples
This function remove outliers based on principal component analysis (PCA).
1 2 |
data |
Data matrix |
trait |
Sample information for PCA plot Defaults to NULL |
colour |
One of the trait for colour in PCA plot Defaults to NULL |
label |
Whether use the label in PCA plot or not Defaults to FALSE |
pcout |
The threshold for outliers Defaults to 0.3 |
plot |
Whether output the plot or not Defaults to TRUE |
outliers
WKL
1 | outlier_PCA(data, trait, colour="Gender", pcout=0.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.