Skip to contents

Checks if the provided parameters are valid for your data and suggests corrections if needed.

Usage

hatsa_validate_params(
  data,
  anchor_indices,
  spectral_rank_k,
  k_conn_pos = 10,
  k_conn_neg = 10,
  ...
)

Arguments

data

List of subject data matrices

anchor_indices

Anchor indices to validate

spectral_rank_k

Number of components

k_conn_pos

Number of positive edges

k_conn_neg

Number of negative edges

...

Other parameters to validate

Value

Invisible TRUE if valid, otherwise stops with informative error