Skip to content

Expanding clustering#559

Merged
ncborcherding merged 6 commits intomasterfrom
expanding-clustering
Dec 10, 2025
Merged

Expanding clustering#559
ncborcherding merged 6 commits intomasterfrom
expanding-clustering

Conversation

@ncborcherding
Copy link
Copy Markdown
Member

Per issue #546 - expanded the clustering algorithms by updating buildNetwork() in immApex 1.4.1

  • dist_type = c("levenshtein", "hamming", "damerau", "nw", "sw") - default: "levenshtein" (backward compatible)
  • normalize = c("none", "length", "maxlen")
    • "none" leaves as raw metric units
    • "length" = distance / sequence_length_of_pair (e.g., min or mean; see norm_ref)
    • "maxlen" = distance / max(nchar(s1), nchar(s2))
  • Alignment controls (only used for dist_type %in% c("nw","sw")):
    • dist_mat = c("BLOSUM62", "PAM30", etc)

#546 Allowing for hamming and other distances in efficient way through retooling of buildNetwork() in immApex
@ncborcherding
Copy link
Copy Markdown
Member Author

Will need to get the immApex changes uploaded to bioconductor

#557 allow passing of IGL, IGK or Light to get respectve light chains. Updated doucmentation accordingly
#546 #557

combineBCR now passes multiple options for clustering, edit distance calculations, alignment using clonalCluster.

This process also ensures CTstrict is properly formatted into `Heavy_Light` to function downstream
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 10, 2025

Codecov Report

❌ Patch coverage is 96.42857% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
R/utils.R 78.57% 3 Missing ⚠️
R/combineContigs.R 98.13% 2 Missing ⚠️
Files with missing lines Coverage Δ
R/alluvialClones.R 80.76% <ø> (ø)
R/clonalAbundance.R 78.08% <ø> (ø)
R/clonalCluster.R 90.41% <100.00%> (+1.20%) ⬆️
R/clonalCompare.R 95.06% <ø> (ø)
R/clonalDiversity.R 93.50% <ø> (ø)
R/clonalHomeostasis.R 93.87% <ø> (ø)
R/clonalLength.R 80.00% <ø> (ø)
R/clonalNetwork.R 81.39% <ø> (ø)
R/clonalOverlap.R 96.73% <ø> (ø)
R/clonalProportion.R 93.18% <ø> (ø)
... and 12 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ncborcherding ncborcherding merged commit 16bd500 into master Dec 10, 2025
3 of 5 checks passed
@ncborcherding ncborcherding deleted the expanding-clustering branch December 10, 2025 13:32
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