data(exampleRAD)
exampleRAD2 <- MergeRareHaplotypes(exampleRAD,
min.ind.with.haplotype = 20)
exampleRAD$alleleDepth[21:30,6:7]
exampleRAD2$alleleDepth[21:30,6,drop=FALSE]
exampleRAD$alleleNucleotides
exampleRAD2$alleleNucleotides
Run the code above in your browser using DataLab