fill_lost: Fill in frequencies of alleles lost during the simulation (to...

View source: R/vcf.R

fill_lostR Documentation

Fill in frequencies of alleles lost during the simulation (to prevent a SFS to be "skewed" at the end of the simulation).

Description

Fill in frequencies of alleles lost during the simulation (to prevent a SFS to be "skewed" at the end of the simulation).

Usage

fill_lost(sim_sites, all_sites)

Arguments

sim_sites

GRanges object of simulated sites.

all_sites

GRanges object of all sites at the start of a simulation.

Value

GRanges object with frequencies of lost sites set to zero. Otherwise contains the same data as given by the sim_sites argument.


bodkan/slimr documentation built on Feb. 3, 2024, 3:39 p.m.