projection: PCA and Procrustes analysis

View source: R/recalibrate_genotypes.R

projectionR Documentation

PCA and Procrustes analysis

Description

PCA and Procrustes analysis

Usage

projection(studyGeno, plotPCA = TRUE, cpu = 1, platform = "EPIC")

Arguments

studyGeno

A matrix of genotypes of study samples. Provide probes as rows and samples as columns. Include all SNP probes, type I probes, and type II probes if available.

plotPCA

To plot the projection of study samples in reference ancestry space.

cpu

Number of CPU.

platform

EPIC or 450K.

Value

A list containing

refPC

Top PCs in the reference

studyPC

Top PCs in study samples


Yi-Jiang/MethyGenotyper documentation built on Sept. 4, 2024, 12:47 p.m.