View source: R/PCA_from_file.R
Reads file with samples in columns and variables in rows, and does PCA. Writes to file scores, loadings, eigenvalues.
1 2 |
file |
Filepath/filename of data matrix |
center |
default=T |
scale |
default=F |
fread |
default=F, use fread for large input files |
tol |
number specifying magnitude below which comps should be ommited |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.