toy_dataset {condiments}R Documentation

A toy dataset used in the vignette and in the examples

Description

This example has been created using the 'create_differential_topology' function.

Usage

data(toy_dataset)

Format

A list with two dataframes

Source

The following code reproduces the object set.seed(21) library(condiments) data <- create_differential_topology(n_cells = 1000, shift = 0) data$sd$Dim2 <- data$sd$Dim2 * 5 data$mst$Dim2 <- data$mst$Dim2 * 5 data$sd$cl <- kmeans(as.matrix(data$sd[, 1:2]), 8)$cluster data$sd$cl <- as.character(data$sd$cl)


[Package condiments version 1.1.02 Index]