R/makeSpotNode.R

#' Create a spot node
#' To modify the mamut.xml file.
#'
#' see also documentation here: https://cran.r-project.org/web/packages/xml2/vignettes/modification.html
#' @param ... A spot dataframe
#'
#' @return a character
#' @export
#'
makeSpotNode <- function(...) {
  x <- unlist(list(...))
  paste0("Spot ", paste(paste0(names(x), '="', x, '"'), collapse = " "))
}
marionlouveaux/mamut2r documentation built on May 20, 2019, 9:55 a.m.