Principal component analysis was performed based on the vcf file generated by the populations program. The SNPRelate program43 in the R software environment (version 3.6.2)44 converted the vcf file to a gds (genomic data structure) file, drew the PCA diagrams, and calculated the contribution ratios for each principal component. This step used only bi-allelic loci. The SNPRelate program plotted the dendrogram by considering the identity by state (IBS) pairwise distances. Images of the results were generated using the basic functions of the R software environment.
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.
 Tips for asking effective questions
+ Description
Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.