sa-lee / starmie

starmie: plotting and inference for population structure models :star2:
Other
12 stars 6 forks source link

Load Structure Data #2

Closed gtonkinhill closed 8 years ago

gtonkinhill commented 8 years ago

A function to load multiple STRUCTURE output files.

Perhaps we should split this into multiple functions that iteratively add the output of the post processing programs (clump, harvester etc).

Inputs: Output of STRUCTURE, clump, clumpak? and harvester.

Output: A useful data frame for further downstream analysis.

sa-lee commented 8 years ago

are you thinking something along the lines of read.structure read.clumpp read.clumpak read.harvester ?

sa-lee commented 8 years ago

Looking good Gerry 👍 I'm happy to write a few I/O tests then we should be able to close this.

sa-lee commented 8 years ago

got to play around with settings here, like using prior population information and snp datasets with missingness. etc.

gtonkinhill commented 8 years ago

Yeah, I think it's probably easiest if we write tests that check the output of loadStructure for each of the tables and then run a bunch of different input files through it with different parameters. This will save us from having to inspect each result manually.