Skip to contents

Print a QC gate

Usage

# S3 method for class 'cr_qc_gate'
print(x, ...)

Arguments

x

A cr_qc_gate from cr_qc_gate().

...

Ignored.

Value

x, invisibly.

Examples

exp <- cr_example_experiment(seed = 1, n_cells_per_well = 30)
gate <- cr_qc_gate(exp, "marker_1", "Untreated", batch_vars = "replicate")
print(gate)
#> 
#> ── QC gate ─────────────────────────────────────────────────────────────────────
#> Signal marker_1 vs "Untreated" of the same batch
#> Rule: unit median must be greater than the control median
#> • 96 units, 80 gated
#> • 5 fail vs the control median
#> • 16 fail vs the control mean
#> • 5 excluded under the chosen rule
#> ! 11 verdicts depend on which control centre is used.