{
  "_id": "6acbbd7dfe5cc25786e9317f",
  "Package": "synergyMixR",
  "Type": "Package",
  "Title": "Mixture-Based Muscle Synergy Analysis",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Yusuke\", \"Matsui\",\nemail = \"matsui@nagoya-u.jp\",\nrole = c(\"aut\", \"cre\"))\n)",
  "Author": "Yusuke Matsui [aut, cre]",
  "Maintainer": "Yusuke Matsui <matsui@nagoya-u.jp>",
  "Description": "Provides tools for analyzing muscle synergy using various\nstatistical methods including MPCA and MFA. Enables researchers\nto identify distinct subgroups within populations that exhibit\ndifferent muscle synergy patterns, rather than forcing all\nsubjects into a single global model.",
  "License": "GPL-3 + file LICENSE",
  "URL": "https://github.com/matsui-lab/synergyMixR",
  "BugReports": "https://github.com/matsui-lab/synergyMixR/issues",
  "Encoding": "UTF-8",
  "SystemRequirements": "GNU make",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "make",
  "Repository": "https://matsui-lab.r-universe.dev",
  "Date/Publication": "2026-02-21 05:28:46 UTC",
  "RemoteUrl": "https://github.com/matsui-lab/synergyMixR",
  "RemoteRef": "HEAD",
  "RemoteSha": "7178667190d3f0f52d7e571056970ef07b6d20f0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-11 16:08:13 UTC",
    "User": "root"
  },
  "_user": "matsui-lab",
  "_type": "src",
  "_file": "synergyMixR_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/916e0ace12f981cf89c09e960373cf96dcfa025bf1430e174cea31b754fb994e",
  "_filesize": 2237083,
  "_sha256": "916e0ace12f981cf89c09e960373cf96dcfa025bf1430e174cea31b754fb994e",
  "_expires": "2027-01-19T16:46:51.000Z",
  "_created": "2026-10-11T16:08:13.000Z",
  "_published": "2026-10-11T16:46:53.611Z",
  "_buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114513841300,
      "time": 180,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11708315626"
    },
    {
      "job": 114513841264,
      "time": 221,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707976678"
    },
    {
      "job": 114513841261,
      "time": 183,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11708086076"
    },
    {
      "job": 114513841269,
      "time": 211,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11708305695"
    },
    {
      "job": 114513841274,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11708084430"
    },
    {
      "job": 114513841270,
      "time": 289,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11708249399"
    },
    {
      "job": 114513841277,
      "time": 202,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11708114724"
    },
    {
      "job": 114513841297,
      "time": 451,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11709051014"
    },
    {
      "job": 114512893822,
      "time": 276,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707647602"
    },
    {
      "job": 114513841257,
      "time": 190,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11708485277"
    },
    {
      "job": 114513841262,
      "time": 509,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11708440953"
    },
    {
      "job": 114513841267,
      "time": 253,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707464985"
    },
    {
      "job": 114513841292,
      "time": 193,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11707767746"
    },
    {
      "job": 114513841327,
      "time": 453,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11708201379"
    },
    {
      "job": 114513841281,
      "time": 143,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707767676"
    }
  ],
  "_upstream": "https://github.com/matsui-lab/synergyMixR",
  "_commit": {
    "id": "7178667190d3f0f52d7e571056970ef07b6d20f0",
    "author": "Yusuke Matsui <mail.to.matsui@gmail.com>",
    "committer": "Yusuke Matsui <mail.to.matsui@gmail.com>",
    "message": "Initial release: synergyMixR 1.0.0\n",
    "time": 1771651726
  },
  "_maintainer": {
    "name": "Yusuke Matsui",
    "email": "matsui@nagoya-u.jp"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "signal",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "mclust",
      "role": "Suggests"
    },
    {
      "package": "ggrepel",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "clue",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "psych",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "uwot",
      "role": "Suggests"
    },
    {
      "package": "pbapply",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "future.apply",
      "role": "Suggests"
    },
    {
      "package": "future.batchtools",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "umap",
      "role": "Suggests"
    }
  ],
  "_owner": "matsui-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-08",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-02-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ymatts",
      "count": 1,
      "uuid": 5744286
    }
  ],
  "_userbio": {
    "uuid": 58545887,
    "type": "organization",
    "name": "Division of Biomedical and Health Informatics",
    "followers": 3
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/synergyMixR"
  },
  "_devurl": "https://github.com/matsui-lab/synergymixr",
  "_searchresults": 0,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/synergyMixR.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "aggregate_partial_results",
    "align_clusters_to_truth",
    "align_factor_signs_mfa",
    "align_factor_signs_mpca",
    "assign_by_kmeans",
    "bandpass_filter",
    "bootstrap_loading_ci",
    "calc_reconstruction_error_mixtureFA",
    "calc_reconstruction_error_mixturePCA",
    "calc_reconstruction_error_singleFA",
    "calc_reconstruction_error_singlePCA",
    "calc_total_SST",
    "calibrate_model",
    "check_future_available",
    "check_pbs_job_status",
    "check_SSE_diagnostics",
    "compare_baselines",
    "compare_static_vs_dynamic",
    "compute_ari",
    "compute_ari_vaf_table",
    "compute_BIC",
    "compute_BIC_mfa",
    "compute_BIC_mpca",
    "compute_bic_wrapper",
    "compute_calibration",
    "compute_cluster_sizes",
    "compute_cluster_sizes_mpca",
    "compute_clusterwise_subspace_score",
    "compute_ece",
    "compute_entropy",
    "compute_factor_scores",
    "compute_factor_scores_mfa",
    "compute_factor_scores_mpca",
    "compute_factor_scores_mpca_single",
    "compute_factor_scores_optimized",
    "compute_global_vaf_mfa",
    "compute_global_vaf_mpca",
    "compute_ICL",
    "compute_ICL_mfa",
    "compute_ICL_mpca",
    "compute_logLik",
    "compute_logLik_mfa",
    "compute_logLik_mpca",
    "compute_mvc_reference",
    "compute_reconstruction_error",
    "compute_smoothness_penalty",
    "compute_subspace_similarity",
    "compute_VAF",
    "compute_VAF_mfa",
    "compute_VAF_mpca",
    "compute_vaf_wrapper",
    "compute_vss_criterion",
    "count_completed_tasks",
    "emg_preset_config",
    "evaluate_model_selection",
    "extract_cluster_labels",
    "extract_envelope",
    "extract_selection_summary",
    "extract_subject_features_by_singlePCA",
    "facet_mixsynergy",
    "fit_single_factor_analysis",
    "fit_single_pca",
    "fit_two_step_baseline",
    "generate_pbs_script",
    "generate_synergy_data",
    "get_model_by_K_r",
    "get_model_by_K_r_mpca",
    "make_table1",
    "make_table2",
    "mfa_em_fit",
    "mfa_em_fit_cpp_singleInit",
    "mixture_pca_em_fit",
    "mixture_pca_em_fit_cpp_singleInit",
    "normalize_emg",
    "notch_filter",
    "plot_activation_patterns",
    "plot_aligned_basis_heatmaps",
    "plot_all_factor_scores_mfa",
    "plot_all_factor_scores_mpca",
    "plot_all_reconstructed_waveforms_mfa",
    "plot_all_reconstructed_waveforms_mpca",
    "plot_basis_umap",
    "plot_bic_comparison",
    "plot_bic_line",
    "plot_calibration",
    "plot_cluster_embedding",
    "plot_cluster_synergy_loadings_mfa",
    "plot_cluster_synergy_loadings_mpca",
    "plot_confusion_matrix",
    "plot_fig1_ARI",
    "plot_fig1_baseline_comparison",
    "plot_fig2_BIC_heatmap",
    "plot_fig3_init_boxplot",
    "plot_fig4to6_reconstruction_vaf",
    "plot_metric_vs_axis",
    "plot_neural_command",
    "plot_noise_profiles",
    "plot_reconstructed_emg",
    "plot_sse_heatmap",
    "plot_sweep_summary",
    "plot_synergy_bases",
    "plot_synergy_correlation_comparison",
    "plot_synergy_summary",
    "plot_waveform_comparison_mfa",
    "plot_waveform_comparison_mpca",
    "plot_winrate_heatmap",
    "posthoc_mfa_evaluation",
    "posthoc_mpca_evaluation",
    "preprocess_emg",
    "read_all_results",
    "read_and_visualize_all",
    "reconstruct_singleMPCA",
    "rectify",
    "remove_dc_offset",
    "rotate_mfa_model",
    "rotate_mpca_model",
    "run_k_selection_comparison",
    "run_param_sweep",
    "run_param_sweep_baselines",
    "run_param_sweep_modelsel",
    "run_single_task",
    "run_single_task_baselines",
    "run_sweep_future",
    "scale_color_mixsynergy",
    "scale_fill_mixsynergy",
    "scale_fill_mixsynergy_discrete",
    "scale_fill_mixsynergy_diverging",
    "select_K_bootstrap_stability",
    "select_K_crossvalidation",
    "select_K_r",
    "select_optimal_K_r_mfa",
    "select_optimal_K_r_mfa_twostage",
    "select_optimal_K_r_mpca",
    "select_optimal_K_r_mpca_twostage",
    "select_r",
    "select_r_by_smoothness_mfa",
    "select_r_by_smoothness_mpca",
    "select_r_by_vaf_mfa",
    "select_r_by_vaf_mpca",
    "select_r_by_vss_mfa",
    "select_r_by_vss_mpca",
    "select_r_clusterwise_mfa",
    "select_r_clusterwise_mpca",
    "select_r_global_mfa",
    "select_r_global_mpca",
    "select_r_mixture",
    "select_r_multicriteria_mfa",
    "select_r_multicriteria_mpca",
    "setup_future_backend",
    "show_parallel_options",
    "simulate_dynamic_synergy_data",
    "strip_attributes",
    "submit_hpc_sweep",
    "submit_pbs_sweep",
    "summarize_vaf_sse_mfa",
    "theme_mixsynergy",
    "theme_mixsynergy_heatmap",
    "theme_sweep",
    "wait_for_pbs_job"
  ],
  "_help": [
    {
      "page": "aggregate_partial_results",
      "title": "Aggregate Partial Results from PBS Jobs",
      "topics": [
        "aggregate_partial_results"
      ]
    },
    {
      "page": "align_clusters_to_truth",
      "title": "Align Cluster Labels to Ground Truth Using Hungarian Algorithm",
      "topics": [
        "align_clusters_to_truth"
      ]
    },
    {
      "page": "align_factor_signs_mfa",
      "title": "Align (Flip) Factor Signs in an MFA Model",
      "topics": [
        "align_factor_signs_mfa"
      ]
    },
    {
      "page": "align_factor_signs_mpca",
      "title": "Align (Flip) Factor Signs in a Mixture PCA Model",
      "topics": [
        "align_factor_signs_mpca"
      ]
    },
    {
      "page": "assign_by_kmeans",
      "title": "K-means-based cluster assignment",
      "topics": [
        "assign_by_kmeans"
      ]
    },
    {
      "page": "bandpass_filter",
      "title": "Bandpass Filter for EMG Signals",
      "topics": [
        "bandpass_filter"
      ]
    },
    {
      "page": "bootstrap_loading_ci",
      "title": "Bootstrap Confidence Intervals for Synergy Loadings",
      "topics": [
        "bootstrap_loading_ci"
      ]
    },
    {
      "page": "calc_reconstruction_error_mixtureFA",
      "title": "Compute SSE for a MixtureFA model",
      "topics": [
        "calc_reconstruction_error_mixtureFA"
      ]
    },
    {
      "page": "calc_reconstruction_error_mixturePCA",
      "title": "Compute SSE for a MixturePCA model",
      "topics": [
        "calc_reconstruction_error_mixturePCA"
      ]
    },
    {
      "page": "calc_reconstruction_error_singleFA",
      "title": "Compute Total Reconstruction SSE for Single FA",
      "topics": [
        "calc_reconstruction_error_singleFA"
      ]
    },
    {
      "page": "calc_reconstruction_error_singlePCA",
      "title": "Compute Total Reconstruction SSE for Single PCA",
      "topics": [
        "calc_reconstruction_error_singlePCA"
      ]
    },
    {
      "page": "calc_total_SST",
      "title": "Compute the Total Sum of Squares (SST) for a List of Data Matrices",
      "topics": [
        "calc_total_SST"
      ]
    },
    {
      "page": "calibrate_model",
      "title": "Compute Calibration from Model Fit",
      "topics": [
        "calibrate_model"
      ]
    },
    {
      "page": "check_future_available",
      "title": "Check if Future Packages are Available",
      "topics": [
        "check_future_available"
      ]
    },
    {
      "page": "check_pbs_job_status",
      "title": "Check PBS Job Status",
      "topics": [
        "check_pbs_job_status"
      ]
    },
    {
      "page": "check_SSE_diagnostics",
      "title": "Check SSE Diagnostics for Mixture Models",
      "topics": [
        "check_SSE_diagnostics"
      ]
    },
    {
      "page": "compare_baselines",
      "title": "Compare Analysis Methods on v2 Dynamic Synergy Data",
      "topics": [
        "compare_baselines"
      ]
    },
    {
      "page": "compare_static_vs_dynamic",
      "title": "Compare Analysis Methods on Dynamic Synergy Data (v2)",
      "topics": [
        "compare_static_vs_dynamic"
      ]
    },
    {
      "page": "compute_ari",
      "title": "Compute Adjusted Rand Index (ARI)",
      "topics": [
        "compute_ari"
      ]
    },
    {
      "page": "compute_ari_vaf_table",
      "title": "Compile ARI and VAF into a Single Table",
      "topics": [
        "compute_ari_vaf_table"
      ]
    },
    {
      "page": "compute_BIC",
      "title": "Compute Bayesian Information Criterion (BIC)",
      "topics": [
        "compute_BIC"
      ]
    },
    {
      "page": "compute_BIC_mfa",
      "title": "Compute BIC for an MFA model",
      "topics": [
        "compute_BIC_mfa"
      ]
    },
    {
      "page": "compute_BIC_mpca",
      "title": "Compute BIC for a Mixture PCA Model",
      "topics": [
        "compute_BIC_mpca"
      ]
    },
    {
      "page": "compute_bic_wrapper",
      "title": "Compute BIC for a Fitted Model",
      "topics": [
        "compute_bic_wrapper"
      ]
    },
    {
      "page": "compute_calibration",
      "title": "Compute Calibration Statistics for Mixture Model",
      "topics": [
        "compute_calibration"
      ]
    },
    {
      "page": "compute_cluster_sizes",
      "title": "Compute Cluster Sizes from a Fitted MFA (or Mixture PCA) Model",
      "topics": [
        "compute_cluster_sizes"
      ]
    },
    {
      "page": "compute_cluster_sizes_mpca",
      "title": "Compute Cluster Sizes for Mixture PCA",
      "topics": [
        "compute_cluster_sizes_mpca"
      ]
    },
    {
      "page": "compute_clusterwise_subspace_score",
      "title": "Compute Cluster-wise Subspace Recovery Score",
      "topics": [
        "compute_clusterwise_subspace_score"
      ]
    },
    {
      "page": "compute_ece",
      "title": "Compute Expected Calibration Error",
      "topics": [
        "compute_ece"
      ]
    },
    {
      "page": "compute_entropy",
      "title": "Compute Classification Entropy from Responsibilities",
      "topics": [
        "compute_entropy"
      ]
    },
    {
      "page": "compute_factor_scores",
      "title": "Compute Factor Scores for a Single MFA Cluster",
      "topics": [
        "compute_factor_scores"
      ]
    },
    {
      "page": "compute_factor_scores_mfa",
      "title": "Compute Factor Scores for All Subjects in an MFA Model",
      "topics": [
        "compute_factor_scores_mfa"
      ]
    },
    {
      "page": "compute_factor_scores_mpca",
      "title": "Compute PC Factor Scores for All Subjects in a Mixture PCA Model",
      "topics": [
        "compute_factor_scores_mpca"
      ]
    },
    {
      "page": "compute_factor_scores_mpca_single",
      "title": "Compute Factor (PC) Scores for a Single Subject in a Mixture PCA Cluster",
      "topics": [
        "compute_factor_scores_mpca_single"
      ]
    },
    {
      "page": "compute_factor_scores_optimized",
      "title": "Compute Factor Scores for a Single Subject in MFA",
      "topics": [
        "compute_factor_scores_optimized"
      ]
    },
    {
      "page": "compute_global_vaf_mfa",
      "title": "Compute Global VAF (1 - SSE/SST) for an MFA Model",
      "topics": [
        "compute_global_vaf_mfa"
      ]
    },
    {
      "page": "compute_global_vaf_mpca",
      "title": "Compute Global VAF (1 - SSE/SST) for Mixture PCA",
      "topics": [
        "compute_global_vaf_mpca"
      ]
    },
    {
      "page": "compute_ICL",
      "title": "Compute ICL for a Mixture Model (Unified Interface)",
      "topics": [
        "compute_ICL"
      ]
    },
    {
      "page": "compute_ICL_mfa",
      "title": "Compute ICL for a Mixture Factor Analysis Model",
      "topics": [
        "compute_ICL_mfa"
      ]
    },
    {
      "page": "compute_ICL_mpca",
      "title": "Compute ICL for a Mixture PCA Model",
      "topics": [
        "compute_ICL_mpca"
      ]
    },
    {
      "page": "compute_logLik",
      "title": "Compute Log-Likelihood for Mixture Models",
      "topics": [
        "compute_logLik"
      ]
    },
    {
      "page": "compute_logLik_mfa",
      "title": "Compute the Mixture-Model Log-Likelihood for MFA",
      "topics": [
        "compute_logLik_mfa"
      ]
    },
    {
      "page": "compute_logLik_mpca",
      "title": "Compute the Mixture-Model Log-Likelihood for Mixture PCA",
      "topics": [
        "compute_logLik_mpca"
      ]
    },
    {
      "page": "compute_mvc_reference",
      "title": "Compute MVC Reference Values",
      "topics": [
        "compute_mvc_reference"
      ]
    },
    {
      "page": "compute_reconstruction_error",
      "title": "Compute Reconstruction Error",
      "topics": [
        "compute_reconstruction_error"
      ]
    },
    {
      "page": "compute_smoothness_penalty",
      "title": "Compute Smoothness Penalty for Factor Scores",
      "topics": [
        "compute_smoothness_penalty"
      ]
    },
    {
      "page": "compute_subspace_similarity",
      "title": "Compute Subspace Similarity Between Two Basis Matrices",
      "topics": [
        "compute_subspace_similarity"
      ]
    },
    {
      "page": "compute_VAF",
      "title": "Compute Global Variance Accounted For (VAF)",
      "topics": [
        "compute_VAF"
      ]
    },
    {
      "page": "compute_VAF_mfa",
      "title": "Compute VAF for a Fitted MFA Model",
      "topics": [
        "compute_VAF_mfa"
      ]
    },
    {
      "page": "compute_VAF_mpca",
      "title": "Compute VAF for a Mixture PCA (PPCA) Model",
      "topics": [
        "compute_VAF_mpca"
      ]
    },
    {
      "page": "compute_vaf_wrapper",
      "title": "Compute VAF (Variance Accounted For) for a Fitted Model",
      "topics": [
        "compute_vaf_wrapper"
      ]
    },
    {
      "page": "compute_vss_criterion",
      "title": "Compute VSS (Very Simple Structure) Criterion for Factor Loadings",
      "topics": [
        "compute_vss_criterion"
      ]
    },
    {
      "page": "count_completed_tasks",
      "title": "Count Completed PBS Tasks",
      "topics": [
        "count_completed_tasks"
      ]
    },
    {
      "page": "emg_preset_config",
      "title": "EMG Preprocessing Preset Configurations",
      "topics": [
        "emg_preset_config"
      ]
    },
    {
      "page": "evaluate_model_selection",
      "title": "Evaluate Model Selection Results",
      "topics": [
        "evaluate_model_selection"
      ]
    },
    {
      "page": "extract_cluster_labels",
      "title": "Extract Cluster Labels from a Fitted Model",
      "topics": [
        "extract_cluster_labels"
      ]
    },
    {
      "page": "extract_envelope",
      "title": "Extract Envelope from EMG Signal",
      "topics": [
        "extract_envelope"
      ]
    },
    {
      "page": "extract_selection_summary",
      "title": "Extract Selection Summary as Data Frame",
      "topics": [
        "extract_selection_summary"
      ]
    },
    {
      "page": "extract_subject_features_by_singlePCA",
      "title": "Extract subject-level features by single PCA",
      "topics": [
        "extract_subject_features_by_singlePCA"
      ]
    },
    {
      "page": "facet_mixsynergy",
      "title": "Apply Consistent Faceting for Cluster and Factor Visualizations",
      "topics": [
        "facet_mixsynergy"
      ]
    },
    {
      "page": "fit_single_factor_analysis",
      "title": "Fit a Single Factor Analysis (Ignoring Clusters)",
      "topics": [
        "fit_single_factor_analysis"
      ]
    },
    {
      "page": "fit_single_pca",
      "title": "Fit a Single PCA (Ignoring Clusters)",
      "topics": [
        "fit_single_pca"
      ]
    },
    {
      "page": "fit_two_step_baseline",
      "title": "Two-step Baseline Algorithm for PCA/FA",
      "topics": [
        "fit_two_step_baseline"
      ]
    },
    {
      "page": "generate_pbs_script",
      "title": "Generate PBS Job Script",
      "topics": [
        "generate_pbs_script"
      ]
    },
    {
      "page": "generate_synergy_data",
      "title": "Generate v2 Dynamic Synergy Data for Model Selection Experiments",
      "topics": [
        "generate_synergy_data"
      ]
    },
    {
      "page": "get_model_by_K_r",
      "title": "Retrieve a Specific Model by (K, r) from a Grid Search",
      "topics": [
        "get_model_by_K_r"
      ]
    },
    {
      "page": "get_model_by_K_r_mpca",
      "title": "Retrieve a Mixture PCA Model by (K, r)",
      "topics": [
        "get_model_by_K_r_mpca"
      ]
    },
    {
      "page": "make_table1",
      "title": "Create a Static Table of Simulation Conditions (Table 1)",
      "topics": [
        "make_table1"
      ]
    },
    {
      "page": "make_table2",
      "title": "Summarize Results for a Subset (Table 2)",
      "topics": [
        "make_table2"
      ]
    },
    {
      "page": "mfa_em_fit",
      "title": "Fit a Mixture Factor Analysis Model (with optional multi-initialization)",
      "topics": [
        "mfa_em_fit"
      ]
    },
    {
      "page": "mfa_em_fit_cpp_singleInit",
      "title": "Single-Run Mixture Factor Analysis with a Preset Initial Assignment",
      "topics": [
        "mfa_em_fit_cpp_singleInit"
      ]
    },
    {
      "page": "mixture_pca_em_fit",
      "title": "Fit a Mixture PCA Model (Using mpcaTimeseriesCpp) with optional multi-initialization",
      "topics": [
        "mixture_pca_em_fit"
      ]
    },
    {
      "page": "mixture_pca_em_fit_cpp_singleInit",
      "title": "Single-Run Mixture PCA with a Preset Initial Assignment",
      "topics": [
        "mixture_pca_em_fit_cpp_singleInit"
      ]
    },
    {
      "page": "normalize_emg",
      "title": "Normalize EMG Signal",
      "topics": [
        "normalize_emg"
      ]
    },
    {
      "page": "notch_filter",
      "title": "Notch Filter for Power Line Noise Removal",
      "topics": [
        "notch_filter"
      ]
    },
    {
      "page": "plot_activation_patterns",
      "title": "Plot Activation Patterns",
      "topics": [
        "plot_activation_patterns"
      ]
    },
    {
      "page": "plot_aligned_basis_heatmaps",
      "title": "Plot Aligned Basis Heatmaps",
      "topics": [
        "plot_aligned_basis_heatmaps"
      ]
    },
    {
      "page": "plot_all_factor_scores_mfa",
      "title": "Plot All Factor Scores (Z) for MFA, Faceted by Cluster and Factor",
      "topics": [
        "plot_all_factor_scores_mfa"
      ]
    },
    {
      "page": "plot_all_factor_scores_mpca",
      "title": "Plot All Factor Scores (Z) for MPCA, Faceted by Cluster and Factor",
      "topics": [
        "plot_all_factor_scores_mpca"
      ]
    },
    {
      "page": "plot_all_reconstructed_waveforms_mfa",
      "title": "Plot Reconstructed Waveforms for All Clusters and Channels (MFA)",
      "topics": [
        "plot_all_reconstructed_waveforms_mfa"
      ]
    },
    {
      "page": "plot_all_reconstructed_waveforms_mpca",
      "title": "Plot Reconstructed Waveforms for All Clusters and Channels (MPCA)",
      "topics": [
        "plot_all_reconstructed_waveforms_mpca"
      ]
    },
    {
      "page": "plot_basis_umap",
      "title": "Plot Basis UMAP Embedding",
      "topics": [
        "plot_basis_umap"
      ]
    },
    {
      "page": "plot_bic_comparison",
      "title": "Plot BIC Comparison for Parameter Sweep",
      "topics": [
        "plot_bic_comparison"
      ]
    },
    {
      "page": "plot_bic_line",
      "title": "Line Plot of BIC vs. K or r",
      "topics": [
        "plot_bic_line"
      ]
    },
    {
      "page": "plot_calibration",
      "title": "Plot Calibration Curve",
      "topics": [
        "plot_calibration"
      ]
    },
    {
      "page": "plot_cluster_embedding",
      "title": "Plot Cluster Embedding",
      "topics": [
        "plot_cluster_embedding"
      ]
    },
    {
      "page": "plot_cluster_synergy_loadings_mfa",
      "title": "Plot Cluster-Specific Synergy Coefficients (Factor Loadings) for MFA",
      "topics": [
        "plot_cluster_synergy_loadings_mfa"
      ]
    },
    {
      "page": "plot_cluster_synergy_loadings_mpca",
      "title": "Plot Cluster-Specific Synergy Coefficients (Factor Loadings) for MPCA",
      "topics": [
        "plot_cluster_synergy_loadings_mpca"
      ]
    },
    {
      "page": "plot_confusion_matrix",
      "title": "Plot Confusion Matrix for Cluster Assignments",
      "topics": [
        "plot_confusion_matrix"
      ]
    },
    {
      "page": "plot_fig1_ARI",
      "title": "Plot ARI vs. Separation/Noise (Figure 1)",
      "topics": [
        "plot_fig1_ARI"
      ]
    },
    {
      "page": "plot_fig1_baseline_comparison",
      "title": "Plot Baseline Comparison (ARI and VAF)",
      "topics": [
        "plot_fig1_baseline_comparison"
      ]
    },
    {
      "page": "plot_fig2_BIC_heatmap",
      "title": "Plot BIC Heatmap for a Subset (Figure 2)",
      "topics": [
        "plot_fig2_BIC_heatmap"
      ]
    },
    {
      "page": "plot_fig3_init_boxplot",
      "title": "Plot Boxplot of ARI for Multiple Initial Seeds (Figure 3)",
      "topics": [
        "plot_fig3_init_boxplot"
      ]
    },
    {
      "page": "plot_fig4to6_reconstruction_vaf",
      "title": "Plot Reconstruction Error and VAF (Figures 4-6)",
      "topics": [
        "plot_fig4to6_reconstruction_vaf"
      ]
    },
    {
      "page": "plot_metric_vs_axis",
      "title": "Plot Metric vs Axis for Parameter Sweep",
      "topics": [
        "plot_metric_vs_axis"
      ]
    },
    {
      "page": "plot_neural_command",
      "title": "Plot Neural Command Trajectories",
      "topics": [
        "plot_neural_command"
      ]
    },
    {
      "page": "plot_noise_profiles",
      "title": "Plot Noise Profiles",
      "topics": [
        "plot_noise_profiles"
      ]
    },
    {
      "page": "plot_reconstructed_emg",
      "title": "Plot Reconstructed EMG Signals",
      "topics": [
        "plot_reconstructed_emg"
      ]
    },
    {
      "page": "plot_sse_heatmap",
      "title": "Plot SSE Heatmap Across Methods and Subjects",
      "topics": [
        "plot_sse_heatmap"
      ]
    },
    {
      "page": "plot_sweep_summary",
      "title": "Plot Summary Comparison for Parameter Sweep",
      "topics": [
        "plot_sweep_summary"
      ]
    },
    {
      "page": "plot_synergy_bases",
      "title": "Plot Synergy Bases (Lambda Matrices)",
      "topics": [
        "plot_synergy_bases"
      ]
    },
    {
      "page": "plot_synergy_correlation_comparison",
      "title": "Plot Synergy Correlation Comparison",
      "topics": [
        "plot_synergy_correlation_comparison"
      ]
    },
    {
      "page": "plot_synergy_summary",
      "title": "Plot Synergy Summary",
      "topics": [
        "plot_synergy_summary"
      ]
    },
    {
      "page": "plot_waveform_comparison_mfa",
      "title": "Plot Original vs. Reconstructed Waveform for an MFA Model",
      "topics": [
        "plot_waveform_comparison_mfa"
      ]
    },
    {
      "page": "plot_waveform_comparison_mpca",
      "title": "Plot Original vs. Reconstructed Waveform for an MPCA Model",
      "topics": [
        "plot_waveform_comparison_mpca"
      ]
    },
    {
      "page": "plot_winrate_heatmap",
      "title": "Plot Win Rate Heatmap for Parameter Sweep",
      "topics": [
        "plot_winrate_heatmap"
      ]
    },
    {
      "page": "plot.mixture_r_selection",
      "title": "Plot Method for mixture_r_selection Objects",
      "topics": [
        "plot.mixture_r_selection"
      ]
    },
    {
      "page": "posthoc_mfa_evaluation",
      "title": "Post-hoc Evaluation of MFA Grid Search",
      "topics": [
        "posthoc_mfa_evaluation"
      ]
    },
    {
      "page": "posthoc_mpca_evaluation",
      "title": "Post-hoc Evaluation of Mixture PCA Grid Search",
      "topics": [
        "posthoc_mpca_evaluation"
      ]
    },
    {
      "page": "preprocess_emg",
      "title": "EMG Preprocessing Pipeline",
      "topics": [
        "preprocess_emg"
      ]
    },
    {
      "page": "print.bootstrap_ci",
      "title": "Print Summary of Bootstrap CI Results",
      "topics": [
        "print.bootstrap_ci"
      ]
    },
    {
      "page": "print.calibration_result",
      "title": "Print Summary of Calibration Results",
      "topics": [
        "print.calibration_result"
      ]
    },
    {
      "page": "print.mixture_r_selection",
      "title": "Print Method for mixture_r_selection Objects",
      "topics": [
        "print.mixture_r_selection"
      ]
    },
    {
      "page": "print.preprocessed_emg",
      "title": "Print Method for preprocessed_emg Objects",
      "topics": [
        "print.preprocessed_emg"
      ]
    },
    {
      "page": "read_all_results",
      "title": "Read All Results from .rds Files",
      "topics": [
        "read_all_results"
      ]
    },
    {
      "page": "read_and_visualize_all",
      "title": "Read All Results and Produce Tables/Figures",
      "topics": [
        "read_and_visualize_all"
      ]
    },
    {
      "page": "reconstruct_singleMPCA",
      "title": "Reconstruct a single subject's data from a Mixture PCA model",
      "topics": [
        "reconstruct_singleMPCA"
      ]
    },
    {
      "page": "rectify",
      "title": "Rectify EMG Signal",
      "topics": [
        "rectify"
      ]
    },
    {
      "page": "remove_dc_offset",
      "title": "Remove DC Offset from EMG Signal",
      "topics": [
        "remove_dc_offset"
      ]
    },
    {
      "page": "rotate_mfa_model",
      "title": "Post-hoc Rotation for an MFA Model",
      "topics": [
        "rotate_mfa_model"
      ]
    },
    {
      "page": "rotate_mpca_model",
      "title": "Post-hoc Rotation for a Mixture PCA Model",
      "topics": [
        "rotate_mpca_model"
      ]
    },
    {
      "page": "run_k_selection_comparison",
      "title": "Run K Selection Method Comparison (v3)",
      "topics": [
        "run_k_selection_comparison"
      ]
    },
    {
      "page": "run_param_sweep",
      "title": "Run Parameter Sweep Experiment",
      "topics": [
        "run_param_sweep"
      ]
    },
    {
      "page": "run_param_sweep_baselines",
      "title": "Run Parameter Sweep for Baseline Method Comparisons (v2)",
      "topics": [
        "run_param_sweep_baselines"
      ]
    },
    {
      "page": "run_param_sweep_modelsel",
      "title": "Run Parameter Sweep with Model Selection",
      "topics": [
        "run_param_sweep_modelsel"
      ]
    },
    {
      "page": "run_single_task",
      "title": "Run a Single Task from Parameter Grid",
      "topics": [
        "run_single_task"
      ]
    },
    {
      "page": "run_sweep_future",
      "title": "Run Parameter Sweep Using Future",
      "topics": [
        "run_sweep_future"
      ]
    },
    {
      "page": "scale_color_mixsynergy",
      "title": "Get Unified Color Scale for Discrete Categories",
      "topics": [
        "scale_color_mixsynergy"
      ]
    },
    {
      "page": "scale_fill_mixsynergy",
      "title": "Get Unified Viridis Color Scale for Continuous Values",
      "topics": [
        "scale_fill_mixsynergy"
      ]
    },
    {
      "page": "scale_fill_mixsynergy_discrete",
      "title": "Get Unified Fill Scale for Discrete Categories",
      "topics": [
        "scale_fill_mixsynergy_discrete"
      ]
    },
    {
      "page": "scale_fill_mixsynergy_diverging",
      "title": "Get Unified Viridis Color Scale for Diverging Values",
      "topics": [
        "scale_fill_mixsynergy_diverging"
      ]
    },
    {
      "page": "select_K_bootstrap_stability",
      "title": "Select K Using Bootstrap Stability Selection",
      "topics": [
        "select_K_bootstrap_stability"
      ]
    },
    {
      "page": "select_K_crossvalidation",
      "title": "Select K Using Cross-Validation",
      "topics": [
        "select_K_crossvalidation"
      ]
    },
    {
      "page": "select_K_r",
      "title": "Unified Model Selection for K and r",
      "topics": [
        "select_K_r"
      ]
    },
    {
      "page": "select_optimal_K_r_mfa",
      "title": "Search for the Best (K, r) for MFA via Grid Search (Using mfa_em_fit)",
      "topics": [
        "select_optimal_K_r_mfa"
      ]
    },
    {
      "page": "select_optimal_K_r_mfa_twostage",
      "title": "Two-Stage Model Selection for MFA: Select K First, Then r",
      "topics": [
        "select_optimal_K_r_mfa_twostage"
      ]
    },
    {
      "page": "select_optimal_K_r_mpca",
      "title": "Search for the Best (K, r) for Mixture PCA via Grid Search",
      "topics": [
        "select_optimal_K_r_mpca"
      ]
    },
    {
      "page": "select_optimal_K_r_mpca_twostage",
      "title": "Two-Stage Model Selection for MPCA: Select K First, Then r",
      "topics": [
        "select_optimal_K_r_mpca_twostage"
      ]
    },
    {
      "page": "select_r_by_smoothness_mfa",
      "title": "Select Optimal r by Smoothness Penalty for MFA",
      "topics": [
        "select_r_by_smoothness_mfa"
      ]
    },
    {
      "page": "select_r_by_smoothness_mpca",
      "title": "Select Optimal r by Smoothness Penalty for MPCA",
      "topics": [
        "select_r_by_smoothness_mpca"
      ]
    },
    {
      "page": "select_r_by_vaf_mfa",
      "title": "Select Minimum r Based on VAF Threshold for MFA",
      "topics": [
        "select_r_by_vaf_mfa"
      ]
    },
    {
      "page": "select_r_by_vaf_mpca",
      "title": "Select Minimum r Based on VAF Threshold for MPCA",
      "topics": [
        "select_r_by_vaf_mpca"
      ]
    },
    {
      "page": "select_r_by_vss_mfa",
      "title": "Select Optimal r by VSS Criterion for MFA",
      "topics": [
        "select_r_by_vss_mfa"
      ]
    },
    {
      "page": "select_r_by_vss_mpca",
      "title": "Select Optimal r by VSS Criterion for MPCA",
      "topics": [
        "select_r_by_vss_mpca"
      ]
    },
    {
      "page": "select_r_clusterwise_mfa",
      "title": "Select Optimal r Using Cluster-wise Evaluation for MFA",
      "topics": [
        "select_r_clusterwise_mfa"
      ]
    },
    {
      "page": "select_r_clusterwise_mpca",
      "title": "Select Optimal r Using Cluster-wise Evaluation for MPCA",
      "topics": [
        "select_r_clusterwise_mpca"
      ]
    },
    {
      "page": "select_r_global_mfa",
      "title": "Select Optimal r Using Global Model (FA or PPCA) with Cross-Validation",
      "topics": [
        "select_r_global_mfa"
      ]
    },
    {
      "page": "select_r_global_mpca",
      "title": "Select Optimal r Using Global Model (PPCA) with Cross-Validation for MPCA",
      "topics": [
        "select_r_global_mpca"
      ]
    },
    {
      "page": "select_r_mixture",
      "title": "Unified r Selection for Mixture Models (MFA/MPCA)",
      "topics": [
        "select_r_mixture"
      ]
    },
    {
      "page": "select_r_multicriteria_mfa",
      "title": "Select Optimal r Using Multi-Criteria Approach for MFA",
      "topics": [
        "select_r_multicriteria_mfa"
      ]
    },
    {
      "page": "select_r_multicriteria_mpca",
      "title": "Select Optimal r Using Multi-Criteria Approach for MPCA",
      "topics": [
        "select_r_multicriteria_mpca"
      ]
    },
    {
      "page": "setup_future_backend",
      "title": "Setup Future Backend for HPC",
      "topics": [
        "setup_future_backend"
      ]
    },
    {
      "page": "show_parallel_options",
      "title": "Print Summary of Available Parallelization Options",
      "topics": [
        "show_parallel_options"
      ]
    },
    {
      "page": "simulate_dynamic_synergy_data",
      "title": "Simulate Dynamic Synergy Data with Three Orthogonal Control Axes",
      "topics": [
        "simulate_dynamic_synergy_data"
      ]
    },
    {
      "page": "simulation_comparison",
      "title": "Simulation Comparison Functions",
      "topics": [
        "simulation_comparison"
      ]
    },
    {
      "page": "simulation_visualization",
      "title": "Simulation Visualization Functions",
      "topics": [
        "simulation_visualization"
      ]
    },
    {
      "page": "strip_attributes",
      "title": "Strip All Attributes Except Essential Ones",
      "topics": [
        "strip_attributes"
      ]
    },
    {
      "page": "submit_hpc_sweep",
      "title": "Submit Parameter Sweep to HPC (Simple Interface)",
      "topics": [
        "submit_hpc_sweep"
      ]
    },
    {
      "page": "submit_pbs_sweep",
      "title": "Submit PBS Parameter Sweep",
      "topics": [
        "submit_pbs_sweep"
      ]
    },
    {
      "page": "summarize_vaf_sse_mfa",
      "title": "Summarize VAF and SSE for an MFA Model",
      "topics": [
        "summarize_vaf_sse_mfa"
      ]
    },
    {
      "page": "summary.mixture_r_selection",
      "title": "Summary Method for mixture_r_selection Objects",
      "topics": [
        "summary.mixture_r_selection"
      ]
    },
    {
      "page": "summary.preprocessed_emg",
      "title": "Summary Method for preprocessed_emg Objects",
      "topics": [
        "summary.preprocessed_emg"
      ]
    },
    {
      "page": "theme_mixsynergy",
      "title": "Unified Theme and Style Definitions for synergyMixR Visualizations",
      "topics": [
        "theme_mixsynergy"
      ]
    },
    {
      "page": "theme_mixsynergy_heatmap",
      "title": "Get Unified Heatmap Theme for synergyMixR",
      "topics": [
        "theme_mixsynergy_heatmap"
      ]
    },
    {
      "page": "theme_sweep",
      "title": "Theme for Parameter Sweep Plots",
      "topics": [
        "theme_sweep"
      ]
    },
    {
      "page": "visualize_twostep_diagnostics",
      "title": "Visualization Functions for Two-Step Algorithm Diagnostics",
      "topics": [
        "visualize_twostep_diagnostics"
      ]
    },
    {
      "page": "wait_for_pbs_job",
      "title": "Wait for PBS Job Completion",
      "topics": [
        "wait_for_pbs_job"
      ]
    }
  ],
  "_readme": "https://github.com/matsui-lab/synergyMixR/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "mvtnorm",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "signal",
    "tidyselect",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "model_selection_guide.Rmd",
      "filename": "model_selection_guide.html",
      "title": "Comprehensive Guide to K and r Model Selection",
      "author": "Yusuke Matsui",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Load Package and Example Data",
        "Part 1: Two-Stage K,r Selection",
        "Why Two-Stage?",
        "Algorithm",
        "Usage Example",
        "For MPCA Models",
        "Choosing r_fixed",
        "Comparison: Two-Stage vs Grid Search",
        "Part 2: Post-Hoc Evaluation",
        "posthoc_mfa_evaluation()",
        "Output Columns",
        "Interpreting Cluster Sizes",
        "get_model_by_K_r()",
        "Comparing Multiple Candidates",
        "Part 3: Integrated Workflow",
        "Workflow Diagram",
        "Complete Example",
        "Decision Checklist",
        "When to Reconsider",
        "Summary",
        "See Also",
        "Session Info"
      ],
      "created": "2026-02-21 05:28:46",
      "modified": "2026-02-21 05:28:46",
      "commits": 1
    },
    {
      "source": "metrics_reference.Rmd",
      "filename": "metrics_reference.html",
      "title": "Metrics Reference: Selection Criteria for K and r",
      "author": "Yusuke Matsui",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Quick Reference Table",
        "Detailed Metric Descriptions",
        "Cross-Validation (CV)",
        "Theoretical Background",
        "Mathematical Formulation",
        "Implementation",
        "When to Use",
        "Interpretation Guidelines",
        "Variance Accounted For (VAF)",
        "VAF Thresholds in Literature",
        "Caution: VAF Alone is Insufficient",
        "Bayesian Information Criterion (BIC)",
        "BIC vs AIC",
        "Sample Size Sensitivity",
        "Smoothness Penalty",
        "Interpretation",
        "Typical Pattern",
        "Muscle Synergy Context",
        "Very Simple Structure (VSS)",
        "Rotation Importance",
        "Parallel Analysis (PA)",
        "Algorithm",
        "Characteristics",
        "Metric Comparison and Selection Strategy",
        "Single Metric Usage",
        "Recommended Combinations",
        "Conservative Selection (Avoid Overfitting)",
        "Interpretability Focus",
        "Balanced Approach (Recommended Default)",
        "Decision Framework",
        "Summary",
        "Key Takeaways",
        "Recommended Workflow",
        "References",
        "Session Info"
      ],
      "created": "2026-02-21 05:28:46",
      "modified": "2026-02-21 05:28:46",
      "commits": 1
    },
    {
      "source": "tutorial.Rmd",
      "filename": "tutorial.html",
      "title": "Mixture-Based Muscle Synergy Analysis (MFA & MPCA)",
      "author": "Yusuke Matsui",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Mixture-Based Muscle Synergy Analysis (MFA & MPCA)",
        "1. Background",
        "2. Method Overview and Effective Use Cases",
        "2.1 Mixture Factor Analysis (MFA)",
        "2.2 Mixture PCA (MPCA)",
        "3. Data (Input) Format",
        "4. Single Mixture Model Estimation",
        "4.1 Mixture Factor Analysis (MFA)",
        "4.2 Mixture PCA (MPCA)",
        "5. Parameter Meanings and Typical Settings",
        "6. Visualizing the Fitted Model",
        "6.1 MFA: Synergy Loadings & Factor Scores",
        "6.2 MPCA: Loadings & Factor Scores",
        "7. Optimal Parameter Search (K, r)",
        "7.1 MFA Grid Search",
        "7.2 MPCA Grid Search",
        "8. Refining the Chosen Model",
        "9. Closing Remarks"
      ],
      "created": "2026-02-21 05:28:46",
      "modified": "2026-02-21 05:28:46",
      "commits": 1
    },
    {
      "source": "quickstart.Rmd",
      "filename": "quickstart.html",
      "title": "Quickstart: Mixture-Based Muscle Synergy Analysis",
      "author": "Yusuke Matsui",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Load the Package",
        "Step 1: Generate Synthetic Data",
        "Step 2: Fit MFA Model",
        "Step 3: Visualize Synergy Loadings",
        "Additional Visualizations",
        "Next Steps",
        "Summary"
      ],
      "created": "2026-02-21 05:28:46",
      "modified": "2026-02-21 05:28:46",
      "commits": 1
    },
    {
      "source": "simulation_cluster_separation.Rmd",
      "filename": "simulation_cluster_separation.html",
      "title": "Simulation Study: Effect of Cluster Separation on Model Performance",
      "author": "synergyMixR Team",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1 Overview",
        "2 Simulation design",
        "3 Running the simulation",
        "4 Aggregating results",
        "5 Visualisation",
        "5.1 Clustering accuracy (ARI)",
        "5.2 Model fit (BIC & VAF)",
        "6 Session information"
      ],
      "created": "2026-02-21 05:28:46",
      "modified": "2026-02-21 05:28:46",
      "commits": 1
    },
    {
      "source": "simulation_single_vs_mixture.Rmd",
      "filename": "simulation_single_vs_mixture.html",
      "title": "Simulation Study: Single vs. Mixture Synergy Models",
      "author": "Yusuke Matsui",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "2. Simulation design",
        "3. Running the 10 replicates",
        "4. Summary statistics",
        "5. Visualising variability across replicates",
        "6. Session information"
      ],
      "created": "2026-02-21 05:28:46",
      "modified": "2026-02-21 05:28:46",
      "commits": 1
    },
    {
      "source": "r_selection_framework.Rmd",
      "filename": "r_selection_framework.html",
      "title": "Unified r-Selection Framework for Mixture Models",
      "author": "Yusuke Matsui",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Load the Package",
        "Generate Example Data",
        "Mode 1: Global-First Selection",
        "When to Use Global-First Mode",
        "Usage Example",
        "Visualize Results",
        "Mode 2: Clusterwise Selection",
        "When to Use Clusterwise Mode",
        "Aggregation Methods",
        "Visualize Clusterwise Results",
        "Mode 3: Hybrid Selection (Recommended)",
        "When to Use Hybrid Mode",
        "Special Aggregation: \"global\"",
        "Visualize Hybrid Results",
        "Comparison: MFA vs MPCA",
        "Advanced: Direct Use of Clusterwise Functions",
        "Best Practices and Recommendations",
        "1. Start with Hybrid Mode",
        "2. Use Appropriate rvec Range",
        "3. Interpret Multiple Criteria",
        "4. Validate with Visualization",
        "5. Consider Computational Cost",
        "Troubleshooting",
        "Issue: Different modes give very different r values",
        "Issue: Selected r is at the boundary of rvec",
        "Issue: Clusterwise mode gives NA or warnings",
        "Multi-Criteria Selection",
        "Understanding the Composite Score",
        "Weight Configuration Guidelines",
        "Understanding the Metrics",
        "Cross-Validation (CV)",
        "Variance Accounted For (VAF)",
        "Smoothness Penalty",
        "Very Simple Structure (VSS)",
        "Parallel Analysis (PA)",
        "Bayesian Information Criterion (BIC)",
        "Summary",
        "References",
        "Session Info"
      ],
      "created": "2026-02-21 05:28:46",
      "modified": "2026-02-21 05:28:46",
      "commits": 1
    }
  ],
  "_score": 3.5440680443502757,
  "_indexed": true,
  "_nocasepkg": "synergymixr",
  "_universes": [
    "matsui-lab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-11T16:11:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/49928ba29f705e8e8e05e0421fc04094298b63a066f9a06ba1a344f0b0bc379f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-11T16:11:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/04bfd2633a0165b52a0c7386ad4a3cfc6453c78def07cda1ae0f6eb104c58a1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-11T16:11:06.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/dd7a07ccde2a23492e8243ab2ed507918e576a48c9e43773809cc2ce1abcfea9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-11T16:11:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/6a3729f4f8ae9507d81671258fc0f413c35d9bedb2a0148787f03134febe4c7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-11T16:38:05.000Z",
      "arch": "aarch64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/58f8807ca4ec88f790f84c3a1688d02d6724b18625f06e4cc964cea5e1a4cf31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-11T16:39:25.000Z",
      "arch": "x86_64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/f3ff4a2beb8eec93a3ba18d3c10aaebb03fa076e84334e78d94032881b2c770b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-11T16:40:45.000Z",
      "arch": "aarch64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/89c5a186860c2a1285df65d4a84d0bc922387b88716f45eb9c9d8a6a7e7e1995",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-11T16:42:52.000Z",
      "arch": "x86_64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/58c15af9d936fdd019ca287d5a785d79d0f7efdfe9e4151249851b586627c74b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-11T16:11:58.000Z",
      "arch": "emscripten",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/9e6e32b809266197a75581d1ca2c2449a3d1d0a365a45d561450c2d3a8ad087e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T16:15:35.000Z",
      "arch": "aarch64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/a3a6329c53d96b5090d91048d10b8f7658b88d7373bdfa203fddb99abbf4d4d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T16:10:27.000Z",
      "arch": "x86_64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/1553a7e71a6067f559388b7614d8511c4d73a4dff8a5955c76e780c913e5a6e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T16:10:19.000Z",
      "arch": "x86_64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/6754abb22cb76d95797517b832e4c909844c3a75cc4813d7ae644af5902a4d04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T16:14:32.000Z",
      "arch": "aarch64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/9f5632d25750b647612c57aae405a12afb34abec2b18958ad2224e61354561b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T16:10:13.000Z",
      "arch": "x86_64",
      "commit": "7178667190d3f0f52d7e571056970ef07b6d20f0",
      "fileid": "https://r2.ropensci.org/aee5f8d3b4a3f67f3f44c429f1d4253957b63cfda90a074d926f7061c670db16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matsui-lab/actions/runs/38153904620"
    }
  ]
}