check_chr | R Documentation |
Maps chromosome names to the default Ensembl/NCBI naming style and removes SNPs with nonstandard CHR entries. Optionally, also removes SNPs on user-specified chromosomes.
check_chr(
sumstats_dt,
log_files,
check_save_out,
rmv_chr,
nThread,
tabix_index,
log_folder_ind
)
sumstats_dt |
data.table with summary statistics |
log_files |
list of locations for all log files |
check_save_out |
list of parameters for saved files |
rmv_chr |
Chromosomes to exclude from the formatted summary statistics
file. Use NULL if no filtering is necessary. Default is |
nThread |
Number of threads to use for parallel processes. |
tabix_index |
Index the formatted summary statistics with tabix for fast querying. |
log_folder_ind |
Binary Should log files be stored containing all filtered out SNPs (separate file per filter). The data is outputted in the same format specified for the resulting sumstats file. The only exception to this rule is if output is vcf, then log file saved as .tsv.gz. Default is FALSE. |
list containing the updated summary statistics data.table and the updated log file locations list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.