Skip to contents

The file Solani contains predicted breeding values computed by MiX99. This result file is read using `readr::read_table()`

Usage

readr_solani(
  ps_path,
  pvec_col_names = c("animal", "nrprg", "trait", "ebv"),
  pl_col_types = readr::cols(animal = readr::col_integer(), nprg =
    readr::col_integer(), trait = readr::col_integer(), ebv = readr::col_double())
)

Arguments

ps_path

path to input file

pvec_col_names

vector of column names

pl_col_types

col type specifications using `readr::cols()`

Value

tibble with predicted breeding values

Examples

s_ebv_path_partial <- qzwslrm_example_solani("partial")
tbl_solani_partial <- readr_solani(ps_path = s_ebv_path_partial)
#> Warning: The following named parsers don't match the column names: nprg
#> Warning: 3839 parsing failures.
#> row col  expected    actual                                                                               file
#>   1  -- 4 columns 5 columns '/tmp/RtmpQ6Sl2w/temp_libpath1e0d2c67f2/qzwslrm/extdata/mix99/partial_data/Solani'
#>   2  -- 4 columns 5 columns '/tmp/RtmpQ6Sl2w/temp_libpath1e0d2c67f2/qzwslrm/extdata/mix99/partial_data/Solani'
#>   3  -- 4 columns 5 columns '/tmp/RtmpQ6Sl2w/temp_libpath1e0d2c67f2/qzwslrm/extdata/mix99/partial_data/Solani'
#>   4  -- 4 columns 5 columns '/tmp/RtmpQ6Sl2w/temp_libpath1e0d2c67f2/qzwslrm/extdata/mix99/partial_data/Solani'
#>   6  -- 4 columns 5 columns '/tmp/RtmpQ6Sl2w/temp_libpath1e0d2c67f2/qzwslrm/extdata/mix99/partial_data/Solani'
#> ... ... ......... ......... ..................................................................................
#> See problems(...) for more details.