get_toy_data {decoupleR} | R Documentation

## Generate a toy `mat` and `network`.

### Description

Generate a toy `mat` and `network`.

### Usage

    get_toy_data(n_samples = 24, seed = 42)

### Arguments

`n_samples` | Number of samples to simulate.
`seed` | A single value, interpreted as an integer, or NULL for random number generation.

### Value

List containing `mat` and `network`.

### Examples

    data <- get_toy_data()
    mat <- data$mat
    network <- data$network

[Package decoupleR version 2.0.1 Index]