Learn R Programming

dartR.base (version 1.0.5)

cbind.dartR: adjust cbind for dartR

Description

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.

Usage

# S3 method for dartR
cbind(...)

Value

A genlight object

Arguments

...

list of dartR objects

Examples

Run this code
t1 <- platypus.gl
class(t1) <- "dartR"
t2 <- cbind(t1[,1:10],t1[,11:20])

Run the code above in your browser using DataLab