rndhaplo: Create a Table With Shuffled Haplotypes From a Table of...

Description Usage Arguments Value

View source: R/SampleHaplo.R

Description

This function loads a table with a set of polyploid markers, separates its loci by the ploidy level and then randomly shuffles the markers generating a hypothetical population of randomly generated haploid individuals.

Usage

1
rndhaplo(table, ploidy = 3)

Arguments

table

Table with the polyploid loci, one organisms per row

ploidy

Ploidy level of the organism

Value

Table of haploid data from the polyploid table


cpatarroyo/lamfutools documentation built on Dec. 19, 2021, 6:07 p.m.