PCA_from_file: PCA from file

Description Usage Arguments

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, rank. = NULL,
  rotate = F)

Arguments

file

Filepath/filename of data matrix

center

default=T

scale

default=F

rank.

how many pcs to calculate, default is equal to # of samples, useful when you only really need a few pcs


graeberlab/small.cell.project documentation built on May 12, 2019, 5:16 p.m.