50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

SimRVSequences (version 0.2.7)

sim_FGenos: Draw Founder Genotypes from Haplotype Distribution Given Familial Risk Variant

Description

For internal use.

Usage

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