allCum: Plots a cumulative allele size distribution

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/allCum.R

Description

This function plots a cumulative allele size distribution with number of observations on the x axis and allele size on the y axis. Each alternative allele bin is colored differently

Usage

1
2
allCum(DataBase, loci, ymin = NULL, ymax = NULL, c1 = "pink", 
       c2 = "blue", ytsize = 1, psize = 1,pch=1, limit = 0.8)

Arguments

DataBase

A data base with loci and fragment size information

loci

The locus to be plotted

ymin

The minimum value in the allele size scale to plot

ymax

The maximum value in the allele size scale to plot

c1

color for the first allele and every other following ones

c2

color for the second allele and every other following ones

ytsize

Text size for the y axis in proportion of the default value of one

psize

Point size fin proportion of the default value of one

pch

Type of plotting symbol

limit

Bin limits

Value

The function plots a cumulative allele size distribution for a given locus. The y scale can be restricted to a given interval of allele size. This plot is similar to the plots implemented in Flexibin and Allelogram programs

Author(s)

Filipe Alberto

References

Alberto F. MsatAllele_1.0: an R package to visualize the binning of microsatellite alleles Journal of Heredity. 100(3):394,397

See Also

AlleleHist, restrict.hist

Examples

1
2
data(DBase)
allCum(DBase,"BC-4", limit = 0.8)

kkeenan02/MsatAllele documentation built on May 20, 2019, 10:42 a.m.