Description Usage Arguments Value
Performing PCA analysis
1 2 |
data |
dataframe; data to be used for PCA. Sample metadata is in columns and the variables involved (i.e. compound or species) |
sampleID |
string. column name for sampleID. Default |
variable |
string; the column name in which variables are stored |
value |
string; default 'value'; the column name in which data values are stored (i.e. 'concentration' or 'abundance') |
scale |
'UV' for unit variance, 'UVN' for no unit variance, 'pareto'; default UV |
center |
logical; mean centering; default to TRUE |
convert.NA |
logical; where value is NA, convert value to 0; desirable when want to explicitly say missing values are true zeros (i.e. below limit of detection) and not missing from analysis |
print |
logic. Default |
prcomp object; PCA-processed data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.