bcellALL {Allspice}R 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)

[Package Allspice version 1.0.5 Index]