Skip to contents

Simulate Cytometry Data for FlowSet and FlowFrame Analysis

Usage

simulate_cytometry_data(num_cells = 100, num_features = 10, num_flowframes = 5)

Arguments

num_cells

An integer indicating the number of cells to simulate.

num_features

An integer indicating how many features to simulate.

num_flowframes

An integer indicating how many flowFrames to simulate for the simulated flowSet.

Value

A list containing two entries: a flowFrame and a flowSet.

Examples

simulate_cytometry_data()
#> $flowframe
#> flowFrame object 'V1'
#> with 100 cells and 10 observables:
#>            name       desc     range  minRange  maxRange
#> $P1   feature_1  FEATURE_1       101         0       100
#> $P2   feature_2  FEATURE_2       100         0        99
#> $P3   feature_3  FEATURE_3       101         0       100
#> $P4   feature_4  FEATURE_4       101         0       100
#> $P5   feature_5  FEATURE_5        95         0        94
#> $P6   feature_6  FEATURE_6       101         0       100
#> $P7   feature_7  FEATURE_7       101         0       100
#> $P8   feature_8  FEATURE_8       101         0       100
#> $P9   feature_9  FEATURE_9       101         0       100
#> $P10 feature_10 FEATURE_10       101         0       100
#> 87 keywords are stored in the 'description' slot
#> 
#> $flowset
#> A flowSet with 5 experiments.
#> 
#> column names(10): feature_1 feature_2 ... feature_9 feature_10
#> 
#>