Skip to contents

Plot the complete program diagnostic workflow

Usage

plot_factor_diagnostics(
  fit,
  metadata = NULL,
  group = NULL,
  marker = NULL,
  factor = NULL,
  max_samples = 2000L,
  seed = 42L,
  ...
)

Arguments

fit

Native fit or representation.

metadata

Optional sample metadata.

group

Optional grouping column.

marker

Optional named external-marker vector.

factor

Factor for external-marker scatter.

max_samples

Maximum scatter rendering population; statistics use all samples.

seed

Scoped rendering seed.

...

activity_threshold and feature_threshold (both required) and other settings passed to factor_diagnostics().

Value

Named plots: prevalence, features, programs_per_cell, groups and marker.

Author

Mikhael Manurung; conceptual ImmGen-T Figure 2 workflow.