Description Usage Arguments Value Examples
View source: R/pedigree_input.R
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.
1 | laf_open_fwf_tvd_input(ps_input_file, pvec_col_position, pb_out)
|
ps_input_file |
name of the input file |
pvec_col_position |
vector with column positions |
pb_out |
flag indicating whether output should be written |
tbl_df containing the pedigree info read from ps_input_file
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.