├── .Rbuildignore ├── .gitignore ├── .travis.yml ├── DESCRIPTION ├── LICENSE.md ├── NAMESPACE ├── R ├── accuracy.MC.R ├── accuracy.kfold.R ├── accuracy.plot.R ├── assign.MC.R ├── assign.X.R ├── assign.kfold.R ├── assign.matrix.R ├── check.loci.R ├── compile.data.R ├── membership.plot.R ├── read.Genepop.R ├── read.Structure.R └── reduce.allele.R ├── README.md ├── assignPOP.Rproj ├── inst └── extdata │ ├── Rate.txt │ ├── TinyGenepop.txt │ ├── TinyVars.csv │ ├── morphData.csv │ ├── morphDataX.csv │ ├── simGenepop.txt │ └── simGenepopX.txt ├── man ├── accuracy.MC.Rd ├── accuracy.kfold.Rd ├── accuracy.plot.Rd ├── assign.MC.Rd ├── assign.X.Rd ├── assign.kfold.Rd ├── assign.matrix.Rd ├── check.loci.Rd ├── compile.data.Rd ├── membership.plot.Rd ├── read.Genepop.Rd ├── read.Structure.Rd └── reduce.allele.Rd └── tests ├── testthat.R └── testthat ├── ResKFtest ├── AnalysisInfo.txt ├── Loci_1_K3_1.txt ├── Loci_1_K3_2.txt ├── Loci_1_K3_3.txt ├── Out_1_K3_1.txt ├── Out_1_K3_2.txt └── Out_1_K3_3.txt ├── ResMCtest ├── AnalysisInfo.txt ├── Loci_0.5_1_1.txt ├── Loci_0.5_1_2.txt ├── Loci_0.5_1_3.txt ├── Out_0.5_1_1.txt ├── Out_0.5_1_2.txt └── Out_0.5_1_3.txt ├── ResMCtestFst ├── AnalysisInfo.txt ├── Loci_0.5_1_1.txt ├── Loci_0.5_1_2.txt ├── Loci_0.5_1_3.txt ├── Out_0.5_1_1.txt ├── Out_0.5_1_2.txt └── Out_0.5_1_3.txt ├── testData ├── .gitignore ├── GenepopEx1.txt ├── GenepopEx2.txt ├── GenepopUnk.txt ├── StructureEx1.txt ├── StructureEx2.txt ├── varDummy1.csv └── varDummy2.csv ├── test_accuracy.R ├── test_assignMC.R ├── test_assignX.R ├── test_assignkfold.R ├── test_assignmatrix.R ├── test_checkloci.R ├── test_compiledata.R ├── test_membership.R ├── test_readGenepopStructure.R └── test_reduceallele.R /.Rbuildignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/.Rbuildignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/.travis.yml -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/DESCRIPTION -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/LICENSE.md -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/NAMESPACE -------------------------------------------------------------------------------- /R/accuracy.MC.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/accuracy.MC.R -------------------------------------------------------------------------------- /R/accuracy.kfold.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/accuracy.kfold.R -------------------------------------------------------------------------------- /R/accuracy.plot.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/accuracy.plot.R -------------------------------------------------------------------------------- /R/assign.MC.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/assign.MC.R -------------------------------------------------------------------------------- /R/assign.X.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/assign.X.R -------------------------------------------------------------------------------- /R/assign.kfold.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/assign.kfold.R -------------------------------------------------------------------------------- /R/assign.matrix.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/assign.matrix.R -------------------------------------------------------------------------------- /R/check.loci.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/check.loci.R -------------------------------------------------------------------------------- /R/compile.data.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/compile.data.R -------------------------------------------------------------------------------- /R/membership.plot.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/membership.plot.R -------------------------------------------------------------------------------- /R/read.Genepop.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/read.Genepop.R -------------------------------------------------------------------------------- /R/read.Structure.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/read.Structure.R -------------------------------------------------------------------------------- /R/reduce.allele.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/R/reduce.allele.R -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/README.md -------------------------------------------------------------------------------- /assignPOP.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/assignPOP.Rproj -------------------------------------------------------------------------------- /inst/extdata/Rate.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/inst/extdata/Rate.txt -------------------------------------------------------------------------------- /inst/extdata/TinyGenepop.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/inst/extdata/TinyGenepop.txt -------------------------------------------------------------------------------- /inst/extdata/TinyVars.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/inst/extdata/TinyVars.csv -------------------------------------------------------------------------------- /inst/extdata/morphData.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/inst/extdata/morphData.csv -------------------------------------------------------------------------------- /inst/extdata/morphDataX.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/inst/extdata/morphDataX.csv -------------------------------------------------------------------------------- /inst/extdata/simGenepop.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/inst/extdata/simGenepop.txt -------------------------------------------------------------------------------- /inst/extdata/simGenepopX.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/inst/extdata/simGenepopX.txt -------------------------------------------------------------------------------- /man/accuracy.MC.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/accuracy.MC.Rd -------------------------------------------------------------------------------- /man/accuracy.kfold.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/accuracy.kfold.Rd -------------------------------------------------------------------------------- /man/accuracy.plot.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/accuracy.plot.Rd -------------------------------------------------------------------------------- /man/assign.MC.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/assign.MC.Rd -------------------------------------------------------------------------------- /man/assign.X.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/assign.X.Rd -------------------------------------------------------------------------------- /man/assign.kfold.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/assign.kfold.Rd -------------------------------------------------------------------------------- /man/assign.matrix.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/assign.matrix.Rd -------------------------------------------------------------------------------- /man/check.loci.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/check.loci.Rd -------------------------------------------------------------------------------- /man/compile.data.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/compile.data.Rd -------------------------------------------------------------------------------- /man/membership.plot.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/membership.plot.Rd -------------------------------------------------------------------------------- /man/read.Genepop.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/read.Genepop.Rd -------------------------------------------------------------------------------- /man/read.Structure.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/read.Structure.Rd -------------------------------------------------------------------------------- /man/reduce.allele.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/man/reduce.allele.Rd -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat.R -------------------------------------------------------------------------------- /tests/testthat/ResKFtest/AnalysisInfo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResKFtest/AnalysisInfo.txt -------------------------------------------------------------------------------- /tests/testthat/ResKFtest/Loci_1_K3_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResKFtest/Loci_1_K3_1.txt -------------------------------------------------------------------------------- /tests/testthat/ResKFtest/Loci_1_K3_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResKFtest/Loci_1_K3_2.txt -------------------------------------------------------------------------------- /tests/testthat/ResKFtest/Loci_1_K3_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResKFtest/Loci_1_K3_3.txt -------------------------------------------------------------------------------- /tests/testthat/ResKFtest/Out_1_K3_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResKFtest/Out_1_K3_1.txt -------------------------------------------------------------------------------- /tests/testthat/ResKFtest/Out_1_K3_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResKFtest/Out_1_K3_2.txt -------------------------------------------------------------------------------- /tests/testthat/ResKFtest/Out_1_K3_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResKFtest/Out_1_K3_3.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtest/AnalysisInfo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtest/AnalysisInfo.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtest/Loci_0.5_1_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtest/Loci_0.5_1_1.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtest/Loci_0.5_1_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtest/Loci_0.5_1_2.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtest/Loci_0.5_1_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtest/Loci_0.5_1_3.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtest/Out_0.5_1_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtest/Out_0.5_1_1.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtest/Out_0.5_1_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtest/Out_0.5_1_2.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtest/Out_0.5_1_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtest/Out_0.5_1_3.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtestFst/AnalysisInfo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtestFst/AnalysisInfo.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtestFst/Loci_0.5_1_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtestFst/Loci_0.5_1_1.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtestFst/Loci_0.5_1_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtestFst/Loci_0.5_1_2.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtestFst/Loci_0.5_1_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtestFst/Loci_0.5_1_3.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtestFst/Out_0.5_1_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtestFst/Out_0.5_1_1.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtestFst/Out_0.5_1_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtestFst/Out_0.5_1_2.txt -------------------------------------------------------------------------------- /tests/testthat/ResMCtestFst/Out_0.5_1_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/ResMCtestFst/Out_0.5_1_3.txt -------------------------------------------------------------------------------- /tests/testthat/testData/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /tests/testthat/testData/GenepopEx1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/testData/GenepopEx1.txt -------------------------------------------------------------------------------- /tests/testthat/testData/GenepopEx2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/testData/GenepopEx2.txt -------------------------------------------------------------------------------- /tests/testthat/testData/GenepopUnk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/testData/GenepopUnk.txt -------------------------------------------------------------------------------- /tests/testthat/testData/StructureEx1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/testData/StructureEx1.txt -------------------------------------------------------------------------------- /tests/testthat/testData/StructureEx2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/testData/StructureEx2.txt -------------------------------------------------------------------------------- /tests/testthat/testData/varDummy1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/testData/varDummy1.csv -------------------------------------------------------------------------------- /tests/testthat/testData/varDummy2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/testData/varDummy2.csv -------------------------------------------------------------------------------- /tests/testthat/test_accuracy.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_accuracy.R -------------------------------------------------------------------------------- /tests/testthat/test_assignMC.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_assignMC.R -------------------------------------------------------------------------------- /tests/testthat/test_assignX.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_assignX.R -------------------------------------------------------------------------------- /tests/testthat/test_assignkfold.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_assignkfold.R -------------------------------------------------------------------------------- /tests/testthat/test_assignmatrix.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_assignmatrix.R -------------------------------------------------------------------------------- /tests/testthat/test_checkloci.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_checkloci.R -------------------------------------------------------------------------------- /tests/testthat/test_compiledata.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_compiledata.R -------------------------------------------------------------------------------- /tests/testthat/test_membership.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_membership.R -------------------------------------------------------------------------------- /tests/testthat/test_readGenepopStructure.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_readGenepopStructure.R -------------------------------------------------------------------------------- /tests/testthat/test_reduceallele.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkychen/assignPOP/HEAD/tests/testthat/test_reduceallele.R --------------------------------------------------------------------------------