sim_FGenos: Draw Founder Genotypes from Haplotype Distribution Given...

Description Usage Arguments Value

View source: R/sim_StudySeqFunctions.R

Description

For internal use.

Usage

1
2
sim_FGenos(founder_ids, RV_founder, founder_pat_allele, founder_mat_allele,
  haplos, RV_col_loc, RV_pool_loc)

Arguments

founder_ids

Numeric list. The ID numbers of all founders.

RV_founder

Numeric. The ID number(s) of the founder who introduced a cRV.

founder_pat_allele

Numeric list. The paternally inherited allele for each founder.

founder_mat_allele

Numeric list. The maternally inherited allele for each founder.

haplos

sparseMatrix. The sparseMatrix of genomes returned by read_slimOut.

RV_col_loc

Numeric. The column location of the familial RV in haplos.

RV_pool_loc

The column locations of each SNV (in haplos) for SNVs in the pool of cRVs.

Value

list of familial founder genotypes


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