Description Usage Arguments Value
View source: R/~old/R/recodeFAM.R View source: R/recodeFAM.R
Recodes PLINK fam file with population-specific codes
1 2 3 4 5 6 7 8 | recodeFAM(
genotype_file,
pop_one,
pop_two,
population_table,
SET_SEED = 42,
output_file = "population-coded"
)
|
genotype_file |
(char) path to PLINK-formatted SNP genotype data. |
pop_one |
(char) character code for the first population (e.g., CEU). |
pop_two |
(char) character code for the second population (e.g., YRI). |
population_table |
(char) path to file with population information. Gives the number of samples per population in the dataset. |
SET_SEED |
(integer) value for set.seed() before shuffling (default=42). |
output_file |
(char) name for fam file (default=population-coded). File extension added. |
none
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.