PCA_from_file: PCA from file

View source: R/PCA_from_file.R

PCA_from_fileR Documentation

PCA from file

Description

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

Usage

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.library1 documentation built on Jan. 28, 2025, 3:26 p.m.