reformat_no_sex_or_date_results: After slurping in a SNPPIT run done without sex or date...

View source: R/reformat_no_sex_or_date_results.R

reformat_no_sex_or_date_resultsR Documentation

After slurping in a SNPPIT run done without sex or date constraints, harmonize the declared sex and dates with the output

Description

The main thing going on here is to make sure that the pa column are males and the ma column are females and to declare a reported sex mismatch if they are both males or females.

Usage

reformat_no_sex_or_date_results(D)

Arguments

D

the output of slurp_snppit().

Value

A tibble where the males have been placed in the pa columns and the females ahve been placed in the ma columns.


eriqande/HatcheryPedAgree documentation built on Sept. 21, 2023, 7:24 p.m.