Description Usage Arguments Value Examples
View source: R/clean_1000G_raw.R
After querying data from 1000G, clean the raw data (mostly remove non-biallelic SNPs).
1 | clean_1000G_raw(fname_root, gene_name, start_bp, end_bp, checkpoint)
|
fname_root |
The root (everything before .ped) of the downloaded 1000G file. |
gene_name |
A name (often a gene name, but not always) for the region of SNPs you have downloaded, only to print with error messages. |
start_bp |
The starting position of the range we want. |
end_bp |
The ending position of the range we want. |
checkpoint |
A boolean, if TRUE, print out diagnostic/error messages. |
A list with the elements info_file and ped_file, containing the (clean) genotype info and counts.
1 | query_1000G(CHR=1, start_bp=100000, end_bp=200000, buffer=10000, pop_vec='GBR')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.