What can be learned from genotyping of fungi?

What can be learned from genotyping of fungi?