readr_fwf_tvd_input: Read TVD-Pedigree from file using readr::read_fwf()

Description Usage Arguments Value Examples

View source: R/pedigree_input.R

Description

The content of the fwf-file psInputFile is read using the function readr::read_fwf. The result contains the pedigree information as tbl_df.

Usage

1
readr_fwf_tvd_input(psInputFile, pvecColPosition, pbOut)

Arguments

psInputFile

name of the input file

pvecColPosition

vector with column positions

pbOut

flag indicating whether output should be written

Value

tbl_result_pedigree resulting pedigree as tibble

Examples

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

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