test_that("fitsne works", {
set.seed(42)
m <- matrix(rnorm(2000), ncol = 20)
out <- fitsne(m, random_state = NULL)
})
test_that("fitsne works with PCA=TRUE", {
set.seed(42)
m <- matrix(rnorm(2000), ncol = 20)
out <- fitsne(m, random_state = NULL, pca = TRUE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.