This function performs a column-wise binding of multiple SnpMatrix objects, explicitly preserving row names and column names, avoiding unexpected "object has no names" warnings.

cbind_SnpMatrix(...)

Arguments

...

SnpMatrix objects to combine (must have identical row names).

Value

A single combined SnpMatrix with preserved row and column names.

Examples

if (FALSE) { # \dontrun{
cbind_SnpMatrix(matrix1, matrix2)
} # }