create_data_from_plink_files: Create data.table with CHR, SNP, POS, AF, POP columns

Description Usage Arguments Value

Description

create_data_from_plink_files() reads .bim and .frq plink files and merge then into one data.table

Usage

1
2
3
create_data_from_plink_files(files_path,
  pop_name = tail(unlist(strsplit(files_path, "/")), n = 1),
  one_allele_perline = TRUE)

Arguments

files_path

string with full path of .bim and .frq files

pop_name

string with the name of the population. DEFAULT is the prefix of .bim and .frq files.

one_allele_perline

boolean. Transform data from one SNP per line to one allele per line, Default TRUE.

Value

data.table with the information of .bim and .frq files


jonataseduardo/unphased documentation built on May 21, 2019, 2:26 a.m.