Nat.nblast
R package implementing the NBLAST neuron search algorithm, as an add-on for the NeuroAnatomy Toolbox (nat) R package.
Install / Use
/learn @natverse/Nat.nblastREADME
nat.nblast <img src="man/figures/logo.svg" align="right" height="139" />
<!-- badges: start --> <!-- badges: end -->nat.nblast is part of the NeuroAnatomy Toolbox suite of R packages.
Quick Start
For the impatient ...
# install
if (!require("devtools")) install.packages("devtools")
devtools::install_github(c("natverse/nat", "natverse/nat.nblast"))
# use
library(nat.nblast)
# run examples for search
example("nblast")
# run examples for clustering
example("nhclust")
# get overview help for package
?nat.nblast
# help for functions
?nblast
?nhclust
# run tests
library(testthat)
test_package("nat.nblast")
Introduction
This R package implements the NBLAST neuron similarity algorithm described in
Costa M, Manton JD, Ostrovsky AD, Prohaska S, Jefferis GS. NBLAST: Rapid, Sensitive Comparison of Neuronal Structure and Construction of Neuron Family Databases.Neuron. 2016 Jul 20;91(2):293-311. doi: 10.1016/j.neuron.2016.06.012.
In addition to basic pairwise comparison, the package implements search of databases of neurons. There is also support for all x all comparison for a group of neurons. This can produce a distance matrix suitable for hierarchical clustering, which is also implemented in the package.
These tools are designed as an addon for the NeuroAnatomy Toolbox (nat) R package, which will be installed as dependency.
You will probably find the following online documentation helpful:
- https://natverse.org/nat.nblast/ - Online documentation for this R package
- https://jefferislab.org/si/nblast/ - Overview of NBLAST algorithm and online tools
Installation
This package has been released to CRAN (since v1.5), but we generally recommend installing the development version from GitHub, especially if you notice a bug.
CRAN release
install.packages("nat.nblast")
Development version
Use remotes to install the development version:
# install devtools if required
if (!require("remotes")) install.packages("remotes")
# then nat.nblast
remotes::install_github("natverse/nat.nblast")
Note that this will also update the nat package to the latest development version from github. Windows users need Rtools to install this way.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
