PCA_from_file: PCA from file

Description Usage Arguments

View source: R/PCA_from_file.R

Description

Reads file with samples in columns and variables in rows, and does PCA. Writes to file scores, loadings, eigenvalues.

Usage

1
2
PCA_from_file(file, center = TRUE, scale = FALSE, fread = FALSE,
  tol = sqrt(.Machine$double.eps))

Arguments

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


KSheu/ksheu.lib documentation built on Oct. 14, 2020, 11:55 p.m.