Learn R Programming

Allspice (version 1.0.7)

bcellALL: Simulated data

Description

Simulated data of B-cell acute lymphoblastic leukemia.

Usage

bcellALL(n = 200, contamination = 0.05)

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.

Arguments

n

Number of samples.

contamination

Proportion of samples with randomly shuffled values.

Examples

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

Run the code above in your browser using DataLab