View source: R/PCA_from_file.R
PCA_from_file | R Documentation |
Reads file with samples in columns and variables in rows, and does PCA. Writes to file scores, loadings, eigenvalues.
PCA_from_file(file, center = TRUE, scale = FALSE, fread = FALSE)
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.