You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StAMPP is a cool package and I've used it a lot. Thanks!
Have you thought about adding more functions to the package? For example, since we can calculate Nei's D with StAMPP, I assume it would not be too difficult to implement Nei's DA distance. Having this measure would allow to build more reliable trees.
I was looking around in your code and found sections in the NeisD function that one could modify to get a new NeisDA function. However, I'm not 100 % sure what your variables code for. E.g.
p.dup<- (p[p.dup.ids[((pre.split*split.size)+1):(totalind*totalind)],]) #matrix of allele frequencies to calculate squared allele freq, jx & jy
m.dup<- (m[m.dup.ids[((pre.split*split.size)+1):(totalind*totalind)],]) #matrix of true false (1/0) missing genotype of each ind & loci to adjust p.dup matrix for missing alleles
Thanks for the feature request @pascalangst
I have been working to incorporate this and will hopefully push to GitHub soon so you can test it.
Cheers,
Luke
Thanks for implementing. Unfortunately, I don't have datasets with known results. Therefore, I cannot do a proper test. However, I can check if it is running ok on my machine.
Hi @lpembleton
StAMPP is a cool package and I've used it a lot. Thanks!
Have you thought about adding more functions to the package? For example, since we can calculate Nei's D with StAMPP, I assume it would not be too difficult to implement Nei's DA distance. Having this measure would allow to build more reliable trees.
I was looking around in your code and found sections in the NeisD function that one could modify to get a new NeisDA function. However, I'm not 100 % sure what your variables code for. E.g.
StAMPP/R/stamppNeisD.R
Lines 263 to 277 in 346815e
Would you be willing to add this function or could you give me a hint how I could modify the existing code to do so?
Cheers
Pascal
The text was updated successfully, but these errors were encountered: