#!/usr/local/bin/Rscript
# generate dataset with certain seed
set.seed(1)
data <- dyntoy::generate_dataset(
id = "specific_example/template",
num_cells = 200,
num_features = 300,
model = "tree",
normalise = FALSE
)
# add method specific args (if needed)
data$params <- list()
data$seed <- 1
# write example dataset to file
file <- commandArgs(trailingOnly = TRUE)[[1]]
dynutils::write_h5(data, file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.