I was reading one paper recently about haplotype network branch diversity (
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0251878).
I would really love to include this calculation method in my project!
But it is very tricky, because for calculating haplotype network branch
diversity (
HBd) the authors used fasta files instead of microsatellites or SNP data. With poppr I can plot a
minimum spanning network with microsatellites and SNP data using
imsn(), but to calculate
HBd I would need information about how many branches each genotype has and how many individuals
share this genotype. Here is an example how the data I need for
HBd could look like: