search for: df2genind

Displaying 1 result from an estimated 1 matches for "df2genind".

2018 Mar 15
3
stats 'dist' euclidean distance calculation
...locus # Locus1 Locus2 Locus3 # Samp1 GG <NA> GG # Samp2 AG CA GA # Samp3 AG CA GG # converts geno matrix to genind object (adegenet) Mydata1 <- df2genind(locus, ploidy = 2, ind.names = ind[1:SAMPS], pop = population[1:SAMPS], sep="") Mydata1$tab # get stats on newly created genind object # Locus1.G Locus1.A Locus2.C Locus2.A Locus3.G Locus3.A # Samp1 2 0 N...