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)

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


graeberlab-ucla/glab.library documentation built on Oct. 28, 2024, 10:48 a.m.