compute_pca: compute_pca

Description Usage Arguments Value

View source: R/estimate_ethnicity.R

Description

compute_pca

Usage

1
compute_pca(cohort_name, input_plink, output_directory, ref1kg_population)

Arguments

cohort_name

A character. A name to describe the studied population compared to 1,000 Genomes.

input_plink

A character. The path to plink format files (i.e., .bed, .bim and .fam files).

output_directory

A character. The path where the data and figures is written.

ref1kg_population

A character. A file which describe samples and their ethnicity.

Value

A data.frame.


mcanouil/CARoT documentation built on Oct. 17, 2019, 4:36 p.m.