make_locus: Generate Random Locus Data

Description Usage Arguments Details Value Examples

View source: R/make_example_data.R

Description

Generates heterozygous, homozygous, or missing locus data. Not exported.

Usage

1
make_locus(min_reads = 4, max_reads = 200)

Arguments

min_reads

the minimum number of allele reads at each locus

max_reads

the maximum number of allele reads at each locus

Details

Heterozygous or homozgous loci are given a random number of reads for each allele.

Value

A character string of locus data

Examples

1
2
## Not run: make_locus()
## Not run: make_locus(min_reads=16, max_reads=100)

dandewaters/VCF2Ploidy documentation built on Jan. 17, 2021, 2:12 p.m.