Dear all,
I am fairly new to R and have been struggling to get the commands that would separate my dataset into the different populations.
I have six different populations, each with its own number of samples (sample size is not the same for all populations). For polysat, I am trying to get the allele frequencies. I have used the PopNames(dataset) function to indicate my populations, but it is still indicated as one population when I run the summary(dataset) command. I need to get genetic diversity statistics between the different populations. Can anyone please guide on what command to use or how to go about solving this issue?
Thanks in advance.