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

Description Usage Arguments Value

View source: R/load_bim_frq.R

Description

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

Usage

1
2
load_bim_frq(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/diverdt documentation built on Aug. 19, 2019, 11:55 p.m.