correct_fis: Correct Fis estimates

Description Usage Arguments Details Value

View source: R/utils.R

Description

A function that corrects Fis estimates which are negative or NaN, turning them to 0. Reads in a data frame with an Fis column. Meant to be part of a dplyr pipeline.

Usage

1

Arguments

.df

A data frame, containing a column named Fis.

Details

Used internally, in sim_geno_cline.

Value

The supplied data frame, with a corrected Fis column.


tjthurman/BAHZ documentation built on May 30, 2020, 8:28 a.m.