powered by
cbind is a bit lazy and does not take care for the metadata (so data in the other slot is lost). You can get most of the loci metadata back using gl.compliance.check.
# S3 method for dartR cbind(...)
A genlight object
list of dartR objects
t1 <- platypus.gl class(t1) <- "dartR" t2 <- cbind(t1[,1:10],t1[,11:20])
Run the code above in your browser using DataLab