Package: bHIVE 1.0.0

Nick Borcherding

bHIVE: B-cell Hybrid Immune Variant Engine

bHIVE implements an artificial immune network (AI-Net) for clustering and classification of high-dimensional data such as mass cytometry and single-cell profiles. A population of prototypes, called antibodies, evolves by clonal selection, somatic hypermutation and network suppression, and the learned prototypes summarize cell populations in the original marker units. The same fitted model clusters a dataset and labels new cells. bHIVE accepts SummarizedExperiment and SingleCellExperiment objects and integrates with bluster through bHIVEParam. A C++ backend computes affinities, mutations and suppression, and optional R6 modules add mechanisms such as germinal center selection, microenvironment-dependent mutation and isotype switching. The package also provides multilayer clustering, grid search and caret model wrappers.

Authors:Nick Borcherding [aut, cre]

bHIVE_1.0.0.tar.gz
bHIVE_1.0.0.zip(r-4.7-x86_64)bHIVE_1.0.0.zip(r-4.7-arm64)bHIVE_1.0.0.zip(r-4.6-x86_64)bHIVE_1.0.0.zip(r-4.6-arm64)bHIVE_1.0.0.zip(r-4.5-x86_64)
bHIVE_1.0.0.tgz(r-4.6-x86_64)bHIVE_1.0.0.tgz(r-4.6-arm64)bHIVE_1.0.0.tgz(r-4.5-x86_64)bHIVE_1.0.0.tgz(r-4.5-arm64)
bHIVE_1.0.0.tar.gz(r-4.7-arm64)bHIVE_1.0.0.tar.gz(r-4.7-x86_64)bHIVE_1.0.0.tar.gz(r-4.6-arm64)bHIVE_1.0.0.tar.gz(r-4.6-x86_64)
bHIVE_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bHIVE/json (API)

# Install 'bHIVE' in R:
install.packages('bHIVE', repos = c('https://bioc-release.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/borchlab/bhive/issues

Pkgdown/docs site:https://www.borch.dev

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On BioConductor:bHIVE-1.0.0(bioc 3.24)

softwareclusteringclassificationsinglecellflowcytometrycellbasedassaysnetworkopenblascpp

5.98 score 12 stars 10 scripts 78 downloads 23 exports 54 dependencies

Last updated from:2f8587ca35 (on RELEASE_3_24). Checks:14 NOTE, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
bioc-checksNOTE247
linux-devel-arm64NOTE333
linux-devel-x86_64NOTE477
source / vignettesOK406
linux-release-arm64NOTE307
linux-release-x86_64NOTE360
macos-release-arm64NOTE404
macos-release-x86_64NOTE776
macos-oldrel-arm64NOTE351
macos-oldrel-x86_64NOTE511
windows-devel-arm64NOTE431
windows-devel-x86_64NOTE703
windows-release-arm64NOTE441
windows-release-x86_64NOTE681
windows-oldrel-x86_64NOTE464
wasm-releaseOK207

Exports:.defaultScalarArgumentsActivationGateAINetbHIVEbHIVEmodelbHIVEParamClassSwitcherclusterRowsConvergentSelectorGerminalCenterhoneycombHIVEhoneycombHIVEmodelIdiotypicNetworkImmuneAlgorithmImmuneRepertoireMemoryPoolMicroenvironmentrefineBSHMEngineshowswarmbHIVEVDJLibraryvisualizeHIVE

Dependencies:abindassortheadbeachmatBHBiobaseBiocGenericsBiocNeighborsBiocParallelblustercliclusterclusterCritcodetoolscpp11DelayedArrayfarverformatRfutile.loggerfutile.optionsgenericsGenomicRangesggplot2gluegtableigraphIRangesisobandlabelinglambda.rlatticelifecyclemagrittrMatrixMatrixGenericsmatrixStatspkgconfigR6RColorBrewerRcppRcppArmadillorlangS4ArraysS4VectorsS7scalesSeqinfoSingleCellExperimentsnowSparseArraySummarizedExperimentvctrsviridisLitewithrXVector

Composing immune modules with AINet
Introduction | Somatic Hypermutation Engine | Idiotypic Network Regulation | Germinal Center Selection | Microenvironment | V(D)J Gene Library Initialization | Two-Signal Activation Gate | Memory Pool | Class Switcher | Convergent Selection | Putting It All Together | Session Information

Last update: 2026-10-15
Started: 2026-10-15

Immune-inspired prototypes for cytometry and single-cell data with bHIVE
Introduction | Installation | A mass cytometry dataset | Clustering a SingleCellExperiment | Reading the prototypes | Plotting the cells with their prototypes | bHIVE through bluster | Comparison with FlowSOM and bluster methods | Label transfer to new cells | The R6 engine and immune modules | Other tools in the package | Session information

Last update: 2026-10-15
Started: 2025-01-17

Readme and manuals

Help Manual

Help pageTopics
ActivationGateActivationGate
AINetAINet
bHIVE: B-cell Hybrid Immune Variant EnginebHIVE bHIVE,ANY-method bHIVE,SingleCellExperiment-method bHIVE,SummarizedExperiment-method
bHIVE classification model for caretbHIVEmodel
bHIVE clustering through bluster.defaultScalarArguments,bHIVEParam-method bHIVEParam bHIVEParam-class clusterRows,ANY,bHIVEParam-method show,bHIVEParam-method
ClassSwitcherClassSwitcher
ConvergentSelectorConvergentSelector
GerminalCenterGerminalCenter
honeycombHIVE: Multilayer AIS with optional gradient-based fine-tuninghoneycombHIVE
Multilayered honeycombHIVE classification model for carethoneycombHIVEmodel
IdiotypicNetworkIdiotypicNetwork
ImmuneAlgorithmImmuneAlgorithm
ImmuneRepertoireImmuneRepertoire
MemoryPoolMemoryPool
MicroenvironmentMicroenvironment
refineB: Gradient-based fine-tuning for bHIVE antibodies with multiple loss functions and optimizersrefineB
SHMEngineSHMEngine
Tune Hyperparameters for bHIVE (Swarm/Grid Search)swarmbHIVE
VDJLibraryVDJLibrary
Visualize bHIVE/honeycombHIVE ResultsvisualizeHIVE