Closed thibautjombart closed 9 years ago
add.gaps is a new generic with a method for multidna. Basically, it take a multidna object, and makes sure that all gene matrices in @dna have one row for each individual in @labels, adding gap-only sequences where needed.
multidna
@dna
@labels
We need the same function for phyDat objects.
phyDat
I'm working on it.
Done as of 4ffb362926b9628ec80da61a783d2916ce579e68
add.gaps is a new generic with a method for
multidna
. Basically, it take amultidna
object, and makes sure that all gene matrices in@dna
have one row for each individual in@labels
, adding gap-only sequences where needed.We need the same function for
phyDat
objects.