maximum_allele_size: Returns the max digits of all loci passed.

Description Usage Arguments Value Author(s) Examples

View source: R/maximum_allele_size.R

Description

This is a convienence function that returns the number of digits for a locus or set of loci.

Usage

1

Arguments

x

A data.frame or vector of locus objects

Value

An integer depicting the maximum number of digits in alleles at the locus.

Author(s)

Rodney J. Dyer <rjdyer@vcu.edu>

Examples

1
2
loci <- c( locus( c(1,12) ), locus( c(2,22) ), locus( c(2222,2) ))
maximum_allele_size( loci )

MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.