Hi, I'm new to poppr and R in general, I'm doing population analysis for a haploid pathogen. I'm trying to convert the VCF file that I have to genlight object, but for some reason I have got a warning (Warning message:
In vcfR2genlight(popdata) : Found 1701 loci with more than two alleles. Objects of class genlight only support loci with two alleles. 1701 loci will be omitted from the genlight object.). and here is the object content:
/// GENLIGHT OBJECT /////////
// 960 genotypes, 1,373 binary SNPs, size: 6.1 Mb
1302200 (98.8 %) missing data
// Basic content
@gen: list of 960 SNPbin
// Optional content
@ind.names: 960 individual labels
@loc.names: 1373 locus labels
@chromosome: factor storing chromosomes of the SNPs
@position: integer storing positions of the SNPs
@other: a list containing: elements without names
My questions are:
1) Can I still use this genlight object in the analysis?
2) For haploid genomes, what is the best object to be used?
Thanks for the help
Noor