Closed Barsha-P closed 4 years ago
Hi @Barsha-P,
Thank you for your patience on this. You do not need to use splitStrata()
in this situation. It was designed for use with genetic file formats that only expected one level of population stratification. Since you have a data frame, you do not need to use splitStrata()
. I hope that helps.
Hi there, I am getting this error while trying to run splitStrata(x) <- ~value.
This is my CSV file Sorghum,2019,QLD,Dalby,287,23 Sorghum,2019,QLD,Dalby,287,22 Sorghum,2019,QLD,Brookstead,, Sorghum,2019,QLD,Dalby,287,58 Sorghum,2019,QLD,Dalby,287,26 Sorghum,2019,QLD,Dalby,287,25
Note: I have also tried removing blank spaces but doesn't make any difference.
Set strata
This is a genclone object
Genotype information:
4859 codominant loci
Population information:
Error: Data has 1 level of strata with the separator _ . Here is the first column of the data: Sorghum In addition: Warning message: Strata must be length 1. Taking the first column.
Might be an obvious mistake but I am not able to figure it out.
Thanks Barsha