# params list
save_scan_params <- function(params, project_ID, marker_ID) {
fp <- file.path(get_assay_dir(project_ID, marker_ID), "params")
saveRDS(params, file = fp)
}
# return list
read_scan_params <- function(project_ID, marker_ID) {
fp <- file.path(get_assay_dir(project_ID, marker_ID), "params")
if(!file.exists(fp)) return(NULL)
readRDS(fp)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.