LUCIDus Comprehensive Guide: Models, APIs, and End-to-End Functionality1 days ago
1) Purpose of This Document | 2) Quick Functionality Map | 3) Setup | 4) Build Associated Demo Data (Not Independent Sampling) | 5) Add Missingness for Diagnostics and Missing-Data Examples | 6) Missing-Data Diagnostics and Imputation | 6.1 analyze_missing_pattern() and check_na() | 6.2 safe_impute() and check_imputation_quality() | 7) Core Model Fitting: estimate_lucid() | 7.1 Early model | 7.2 Parallel model | 7.3 Serial model (mixed topology) | 7.4 Verbose Logging Demos (verbose = TRUE) | 8) Tuning and Wrapper APIs: tune_lucid() and lucid() | 8.1 tune_lucid() with a small early-model grid | 8.2 lucid() wrapper (auto-tune over K for early model) | 9) Summaries: summary() | 10) Prediction: predict_lucid() | 10.1 Standard prediction | 10.2 G-computation mode (early, parallel, and serial) | 10.3 Argument Modes: What to Pass and What You Get Back | 11) Bootstrap Inference: boot_lucid() | 11.1 Running the bootstrap and tuning on multiple cores | 11.2 Stability of the clusters across resamples (3.3.1) | 12) Visualization | 12.1 Path Diagram: plot() | 12.2 Cluster Omics Profiles: plot_cluster_omic_profile() | 12.3 Extracting the Ranking Directly: get_top_omics_features() | 13) Binary Outcome Example (Early Model) | 14) End Notes | 15) Session Info