get_pedigree_datatypes: Determine Datatypes of Columns in a Pedigree

Description Usage Arguments Details Value Examples

View source: R/check_pedigree_datatypes.R

Description

The datatypes of the columns are determined using the function readr::guess_parser().

Usage

1
2
3
4
5
6
get_pedigree_datatypes(
  ps_pedig_path,
  ps_delim = "|",
  pcol_types = NULL,
  ptbl_pedigree = NULL
)

Arguments

ps_pedig_path

path to pedigree input file

ps_delim

column delimiter in pedigree input file

pcol_types

column types in the format of cols() used by read_prp_pedigree

ptbl_pedigree

a tibble containing a pedigree

Details

The result is returned as a list that can be used as input for the function check_pedigree_datatypes

Value

list with datatypes

Examples

1
2
3
4
5
6
## Not run: 
get_pedigree_datatypes(ps_pedig_path = system.file('extdata',
    'PopReport_SN_ohne_20210115.csv_adaptfin2.csv',
  package = 'qprppedigree'))

## End(Not run)

pvrqualitasag/qprppedigree documentation built on March 18, 2021, 7:34 a.m.