get_sep: Calculate the Separation Value for Ploidy

Description Usage Arguments Value Examples

View source: R/get_sep.R

Description

In order to make the results more biologically meaningful, we want to set the (haplotype) ploidy to either 1 or 2, indicating whether such sample has genome duplication or not. This function finds the valley for the distribution of inferref ploidy from FPI, and then we could separate the ploidy based on this value (see int_ploidy).

Usage

1

Arguments

var

The current value for all variables (see init_var)

Value

Value for the separation of ploidy

Examples

1
g_sep=get_sep(var)

yun-feng/WGDAP documentation built on Nov. 5, 2019, 1:22 p.m.