Skip to contents

Check for correct structure of CLUSTER_MARKERS_SOURCES or CONTRASTS_SOURCES.

Usage

.check_marker_sources(
  marker_sources,
  check_test_params = FALSE,
  marker_type = c("global", "contrast")
)

Arguments

marker_sources

A named list.

check_test_params

A logical scalar: if TRUE, check also params_* for each test type.

marker_type

A character scalar: "global" for cluster markers, "contrast" for contrasts.

Value

TRUE invisibly if all checks are valid.