Skip to contents

Performs structural checks on a cr_experiment. Called automatically by cr_build_experiment() but can also be used to verify that manual modifications have not broken the object.

Usage

cr_validate_experiment(x)

Arguments

x

A cr_experiment.

Value

TRUE invisibly on success. On failure an informative error is raised.

Examples

exp <- cr_example_experiment(seed = 1, n_cells_per_well = 10)
cr_validate_experiment(exp)