maximum_allele_size: Returns the max digits of all loci passed.

View source: R/maximum_allele_size.R

maximum_allele_sizeR Documentation

Returns the max digits of all loci passed.

Description

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

Usage

maximum_allele_size(x)

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

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

dyerlab/gstudio documentation built on Feb. 2, 2024, 8:24 p.m.