Skip to content

Resistance profile code cleanup and Updated Vignettes#12

Merged
Nilanjana1606 merged 3 commits into
saketlab:mainfrom
Nilanjana1606:ndey_amr
Jun 1, 2026
Merged

Resistance profile code cleanup and Updated Vignettes#12
Nilanjana1606 merged 3 commits into
saketlab:mainfrom
Nilanjana1606:ndey_amr

Conversation

@Nilanjana1606

@Nilanjana1606 Nilanjana1606 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor
  • profile_convex.R: new Pathway 1 pipeline — validate_profile_inputs,
    preprocess_for_profiles, validate_aggregate_inputs,
    compute_marginals_from_data, compute_pairwise_from_data (Pearson
    back-calc), estimate_profiles_convex (QP), enumerate_binary_profiles,
    build_constraint_matrix, check_profile_constraints,
    bootstrap_profiles_convex
    • daly_resistance_prevalence.R: export daly_filter_profiles_to_rr_classes
      and daly_calc_resistance_prevalence_fatal; fix prioritize_resistance to
      accept unnamed hierarchy vector; fix check.names=FALSE for class names
      with hyphens; store constraint_targets alongside constraint_residuals
    • Remove redundant RR mapping functions (daly_lookup_rr,
      daly_map_rr_pathogen, daly_map_rr_drug_class, get_rr_pathogen_map,
      get_class_rr_map); consolidate into daly_add_rr_mappings
  • Vignettes: split getting-started into landing page + preprocessing
    pipeline + new daly-pipeline vignette

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

@Nilanjana1606 Nilanjana1606 merged commit 839384a into saketlab:main Jun 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant