get_toy_data: Generate a toy 'mat' and 'network'.

View source: R/decoupleR-pre.R

get_toy_dataR 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

saezlab/decoupleR documentation built on April 12, 2024, 10:41 a.m.