DefBinLim: Lets the used define bin limits

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

Description

This function lets the user define bin limits for a given locus by clicking on top of an AlleleCum graph

Usage

1
DefBinLim(marker,append2=NULL,alleles)

Arguments

marker

The name of the locus in the open AlleleCum graph

append2

A data.frame like the one produced by this function to where further bin limits may be appended

alleles

A numerical vector containing the allele labels for the alleles you want to provide limits

Details

Upon opening an AlleleCum graph and not being happy with MsatAllele automatic bin definition you can use this function to set bin limits to each allele. You need to set the lower limits for each bin in the AlleleCum (not only for those you want to change). If the locus has many alleles, making it hard to click on the lower limits of each allele, you can use this funtion sequentially making use of the parameter append2,and the ymin and ymax parameters in AlleleCum function. Remember to set append2 to the same object created in the first call to this function. Also remember to set the alleles argument to the new set of alleles.

Value

A data.frame with three columns, marker, alleles (the alleles argument provided) and LowerBin containig the lower bin limits set by the user

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

AlleleCum

Examples

1
2
3
4
data(DBase)
AlleleCum(DBase,"BC-4")
alleles.BC4<-c(222,224,226,228,230,232,234,236,240,242,244,247)
DefBinLim(DBase,append2=NULL,alleles=alleles.BC4)

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