what is exactly the problem and what did you try? There is a (generic)
function cbind for "phyDat" objects in phangorn, which should exactly do
(x1 <- subset(Laurasiatherian, 1:20))
(x2 <- subset(Laurasiatherian, 11:30))
As Emmanuel mentioned the package apex simplifies the whole process.
files <- dir(system.file(package="apex"),patter="patr", full=TRUE)
dat <- read.multiphyDat(files, format="FASTA")
On Fri, Nov 18, 2016 at 6:21 AM, Karla Shikev <karlashi...@gmail.com> wrote:
> Dear all,
> I got alignments for many loci as nexus files and I've been trying to
> concatenate them into a single alignment. However, some taxa are missing
> from some of the loci, so that simple alternatives such as cbinding
> individual files in phangorn doesn't work.
> Any help with this will be greatly appreciated.
> [[alternative HTML version deleted]]
> R-sig-phylo mailing list - Rfirstname.lastname@example.org
> Searchable archive at http://www.mail-archive.com/r-
Revell Lab, University of Massachusetts Boston
[[alternative HTML version deleted]]
R-sig-phylo mailing list - Remail@example.com
Searchable archive at http://firstname.lastname@example.org/