Apologies for the delay. I just joined this group and apparently I had notifications turned off so didn't see your response before (notifications are on now).
Here's the output when I run those commands, as well as some information about the genlight object:
> genlight2 <- gl.compliance.check(genlight)
Starting gl.compliance.check
Processing Presence/Absence (SilicoDArT) data
Checking coding of Tag P/A data
Tag P/A data (SilicoDArT) scored 1, 0 (present or absent) confirmed
Checking locus metrics and flags
Recalculating locus metrics
Checking for monomorphic loci
No monomorphic loci detected
Checking for individual metrics
Individual metrics confirmed
Checking for population assignments
Population assignments confirmed
Spelling of coordinates checked and changed if necessary
Completed: gl.compliance.check
> all(ploidy(genlight2)==2)
[1] TRUE
> head(genlight2)
/// GENLIGHT OBJECT /////////
// 6 genotypes, 21,101 binary SNPs, size: 3 Mb
16554 (13.08 %) missing data
// Basic content
@gen: list of 6 SNPbin
// Optional content
@ind.names: 6 individual labels
@loc.names: 21101 locus labels
@chromosome: factor storing chromosomes of the SNPs
@position: integer storing positions of the SNPs
@pop: population of each individual (group size range: 6-6)
@other: a list containing: loc.metrics loc.metrics.flags verbose history
I don't know why it confirms that the data are P/A when they're definitely not coded as 1s and 0s ...
Thanks for your time and for any insight you're willing to provide. It would be great to get this program working for my SNP data :)