dot-check_integration_methods: Check for valid 'INTEGRATION_SOURCES' parameter.

.check_integration_methodsR Documentation

Check for valid INTEGRATION_SOURCES parameter.

Description

Check for valid INTEGRATION_SOURCES parameter.

Usage

.check_integration_methods(
  integration_methods,
  method_names = c("uncorrected", "rescaling", "regression", "mnn", "harmony"),
  params = c("pca_selection_method", "pca_forced_pcs", "tsne_perp", "tsne_max_iter")
)

Arguments

integration_methods

A named list.

method_names

A character vector: valid names of integration methods.

params

A character vector: names of valid parameters for each integration method.

Value

Invisibly TRUE if all checks are valid.


bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.