omicverse.fm.preprocess_validate

omicverse.fm.preprocess_validate(adata_path, model_name, task)[source]

Validate data compatibility with a model and suggest preprocessing.

Parameters:
  • adata_path (str) – Path to .h5ad file.

  • model_name (str) – Target model name.

  • task (str) – Task type.

Returns:

Validation result with status, diagnostics, and auto-fix suggestions.

Return type:

dict