bcellALL: Simulated data

View source: R/bcellALL.R

bcellALLR Documentation

Simulated data

Description

Simulated data of B-cell acute lymphoblastic leukemia.

Usage

bcellALL(n = 200, contamination = 0.05)

Arguments

n

Number of samples.

contamination

Proportion of samples with randomly shuffled values.

Value

Returns a list with two elements: counts contains gene RNA read counts and metadata contains age and sex information and the generating subtype label.

Examples

# Simulate B-cell ALL samples.
simu <- bcellALL(5)
print(head(simu$counts))
print(simu$metadata)

Allspice documentation built on Jan. 22, 2023, 1:46 a.m.

Related to bcellALL in Allspice...