cbind.dartR: cbind for dartR objects

View source: R/utils.dartR.class.def.r

cbind.dartRR Documentation

cbind for dartR objects

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 class 'dartR'
cbind(..., backingfile = NULL, code = NULL, chunk = 2048L, quiet = TRUE)

Arguments

...

list of dartR objects

backingfile

File stem for the backing file of the resulting FBM, or NULL for a temporary file in getOption("FBM.dir") [default NULL]

code

code mapping to use for the resulting FBM=CODE_012; if NULL, inherits from the first FBM input

chunk

number of columns to process in a block when copying from FBMs

quiet

suppress warnings. default: TRUE

Value

A dartR object

Examples

t1 <- platypus.gl
t2 <- cbind(t1[,1:10],t1[,11:20])

dartR.base documentation built on Nov. 18, 2026, 9:06 a.m.