dot-check_marker_sources: Check for correct structure of 'CLUSTER_MARKERS_SOURCES' or...

.check_marker_sourcesR Documentation

Check for correct structure of CLUSTER_MARKERS_SOURCES or CONTRASTS_SOURCES.

Description

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.


bioinfocz/scdrake documentation built on Jan. 29, 2024, 10:24 a.m.