powered by
rbind 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 rbind(...)
A genlight object
list of dartR objects
t1 <- platypus.gl class(t1) <- "dartR" t2 <- rbind(t1[1:5,],t1[6:10,])
Run the code above in your browser using DataLab