Discover Optimal Anchors from Training Data
Source:R/anchor_selection_workflow.R
discover_optimal_anchors.Rd
Comprehensive anchor discovery pipeline that evaluates multiple selection strategies and quality metrics on a training dataset.
Arguments
- training_data
List of training subject data matrices
- n_components
Number of spectral components to use
- n_anchors
Target number of anchors
- n_pilot
Number of pilot subjects for initial selection (default: 10)
- methods
Character vector of selection methods to try
- evaluate_stability
Whether to evaluate anchor stability
- save_results
Whether to save results to file
- output_dir
Directory for saving results
- verbose
Print progress messages