remove_allWild: Remove unmutated markers from data

Description Usage Arguments Value

View source: R/sim_StudySeqFunctions.R

Description

Remove any markers for which all founders, in the study, are homozygous for the wild-type allele. Since we do not model de novo mutations, it is not possible for non-founders to develop mutations at these loci.

Usage

1
remove_allWild(f_haps, SNV_map)

Arguments

f_haps

The founder haplotypes data. This is a list of family lists. By family, this contains the haplotypes for each founder (first item), and a list of ID numbers (second item) which is used to map the haplotype to the person to whom it belongs.

SNV_map

data.frame. Catalogs the SNV data contained in the familial haplotypes.

Value

A list (by family) of haplotype matrices and ID vectors and the reduce marker data set.


SimRVSequences documentation built on July 1, 2020, 6:03 p.m.