#' 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 = " "))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.