Description Usage Arguments Value
View source: R/~old/gpc/popPCA.R View source: R/~old/dev/1_gsea/popPCA.R View source: R/~old/R/popPCA.R View source: R/popPCA.R
Determines population stratification between different ancestry groups (e.g., CEU vs YRI) via complete linkage clustering
1 | popPCA(genotype_file, fam_file, pop_one, pop_two, dimensions = 3, output_file)
|
genotype_file |
(char) path to PLINK-formatted SNP genotype data. |
fam_file |
(char) path to population-coded PLINK fam file. |
pop_one |
(char) character code for the first population (e.g., CEU). |
pop_two |
(char) character code for the second population (e.g., YRI). |
dimensions |
(integer) dimensions for which to calculate PCA sim (default=3). |
output_file |
(char) path to write PNG image. |
none
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.