fill_genetic_sex: Add genetic sex information to the input janno, throwing a...

View source: R/janno_operations.R

fill_genetic_sexR Documentation

Add genetic sex information to the input janno, throwing a warning if any changes happen, so users know to update their .fam/.ind files

Description

Add genetic sex information to the input janno, throwing a warning if any changes happen, so users know to update their .fam/.ind files

Usage

fill_genetic_sex(input_janno_table, genetic_sex_table)

Arguments

input_janno_table

tibble. A standardised janno tibble, as returned by standardise_janno.

genetic_sex_table

tibble. A tibble containing the Poseidon_Id and Sex of inferred genetic sex of each sample, as well as a Sex_Determination_Note

Value

tibble. A tibble with filled in Genetic_Sex information. A warning is printed if any entries have been updated, requesting manual changes to be made to the .fam/.ind files of the poseidon package.


sidora-tools/eager2poseidon documentation built on May 12, 2023, 11:58 p.m.