Hi there,
I have a binary matrix in a tab-delimited file of aligned SNPs, where 1=SNP and 0=non-SNP. The rows are the loci and the column are different individuals. For example
Position Isolate 1 Isolate 2 Isolate 3 ... Isolate n
4 1 0 0 ... 0
5 0 0 1 ... 1
10 1 1 0 ...0
etc.
I've seen a couple of posts mentioning that the R package 'APE' is good for generating trees from this type of data. However, after reading the documentation, it is not clear to me how this is done. Has anyone used this package for this type of data, and if so, can you please point me in the right direction?
Many thanks
This worked a treat, thanks!