Skip to contents

A deterministic, synthetic embedding with common single-cell visualization semantics. It is intended only for package examples and does not represent biological measurements.

Usage

sc_example

Format

A data frame with 720 rows and 12 variables:

cell_id

Unique synthetic cell identifier.

UMAP1, UMAP2

Synthetic two-dimensional embedding coordinates.

cell_type

Six cell-identity factor levels.

lineage

Lymphoid or myeloid parent lineage.

sample

Four sample factor levels.

condition

Control or stimulated condition.

MS4A1

Synthetic non-negative expression for a B-cell marker.

signed_score

Synthetic score centered around zero.

pseudotime

Synthetic trajectory value in [0, 1].

percent_mito

Synthetic mitochondrial-read percentage.

n_counts

Synthetic library-size count.

Source

Generated by data-raw/build-example-data.R.

Examples

data(sc_example)
head(sc_example)
#>     cell_id     UMAP1    UMAP2 cell_type  lineage   sample  condition MS4A1
#> 1 cell_0001 -3.163181 1.418680    B cell Lymphoid Sample 1    Control 3.850
#> 2 cell_0002 -3.086307 1.324727    B cell Lymphoid Sample 2    Control 3.899
#> 3 cell_0003 -2.846043 1.502208    B cell Lymphoid Sample 3 Stimulated 4.145
#> 4 cell_0004 -2.992542 1.337283    B cell Lymphoid Sample 4 Stimulated 4.189
#> 5 cell_0005 -2.976398 1.365888    B cell Lymphoid Sample 1    Control 4.029
#> 6 cell_0006 -3.212464 1.536336    B cell Lymphoid Sample 2    Control 4.065
#>   signed_score pseudotime percent_mito n_counts
#> 1       -0.494      0.000         8.66     2279
#> 2       -0.473      0.007         8.78     2257
#> 3        1.341      0.013         8.87     2483
#> 4        1.349      0.020        10.44     2460
#> 5       -0.451      0.027         8.98     2185
#> 6       -0.457      0.034         9.00     2160