laf_open_fwf_tvd_input: Read TVD-Pedigree from inputfile using LaF::laf_open_fwf()

Description Usage Arguments Value Examples

View source: R/pedigree_input.R

Description

The content of the fwf-file ps_input_file is read using the function LaF::laf_open_fwf(). Besides the name of the input-file, the column types and the vector of column widths must also be specified. Column types are hard-coded and set to char. The column-widths are taken from the result of the function getK11ColPositionVecFromDsch() by default.

Usage

1
laf_open_fwf_tvd_input(ps_input_file, pvec_col_position, pb_out)

Arguments

ps_input_file

name of the input file

pvec_col_position

vector with column positions

pb_out

flag indicating whether output should be written

Value

tbl_df containing the pedigree info read from ps_input_file

Examples

1
2
3
s_data_file <- system.file(file.path("extdata","KLDAT_20170524_10000.txt"),
                           package = "PedigreeFromTvdData")
tbl_ped <- PedigreeFromTvdData::laf_open_fwf_tvd_input(ps_input_file = s_data_file)

pvrqualitasag/PedigreeFromTvdData documentation built on May 29, 2019, 7:50 a.m.