R/rbindDSS.R

Defines functions rbindDSS

#' @export
rbindDSS <- function(x,y, new.colnames = NULL){
  new.colnames <- .decode.arg(new.colnames)
  if (!is.null(new.colnames)){
    colnames(x) <- new.colnames
    colnames(y) <- new.colnames
  }

  ret <- rbind(x,y)
  if(!.dsBase_isValidDSS(ret)){
    ret <- ret[NA, NA]
  }
  ret
}
sib-swiss/dsSwissKnife documentation built on Nov. 27, 2024, 6:03 p.m.