add_sample_name <- function(data=NULL, sample=NULL) {
if (is.null(data)) stop("Mandatory argument data is missing")
if (is.null(sample)) stop("Mandatory argument sample is missing")
data <- data %>% dplyr::mutate(sample = sample)
return(data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.