sampleHaploids: Simulate recombination events in R - output haplotypes

Description Usage Arguments

View source: R/simulateGenotypesHaploids.R

Description

This function simulates genotypes within a pedigree, based on centiMorgan map distances. Outputs genotypes as a GenABEL gwaa object.

Usage

1
sampleHaploids(haploid.ids, haploid.parent, PLINK.prefix)

Arguments

haploid.ids

vector of IDs to sample haploid genome from

haploid.parent

parent who produced the haploid offspring, "MOTHER" or "FATHER"

PLINK.prefix

default is a randomly generated name.


susjoh/pedantry documentation built on Aug. 23, 2019, 11:35 a.m.