sa-lee / starmie

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

starmieList object? #20

Closed sa-lee closed 8 years ago

sa-lee commented 8 years ago

Considering most of the utility of our package comes from combining multiple lists of struct objects - is it worth creating an S3 object that stores multiple Ks/runs?

gtonkinhill commented 8 years ago

Would it include additional logic/checks?

sa-lee commented 8 years ago

my idea here would be some kind of data structure so people could group their data together in some meaningful way. so for example plotK could just check if something is of type starmieList etc. not sure if it's worth the effort though.

sa-lee commented 8 years ago

need to implement some slice methods for subsetting structLists. @gtonkinhill any suggestions for other methods for structLists? also need to implement an admixList object too.