Package: NAIR 1.0.4

Brian Neal

NAIR: Network Analysis of Immune Repertoire

Pipelines for studying the adaptive immune repertoire of T cells and B cells via network analysis based on receptor sequence similarity. Relate clinical outcomes to immune repertoires based on their network properties, or to particular clusters and clones within a repertoire. Yang et al. (2023) <doi:10.3389/fimmu.2023.1181825>.

Authors:Brian Neal [aut, cre], Hai Yang [aut], Daniil Matveev [aut], Phi Long Le [aut], Li Zhang [cph, aut]

NAIR_1.0.4.tar.gz
NAIR_1.0.4.tar.gz(r-4.5-noble)NAIR_1.0.4.tar.gz(r-4.4-noble)
NAIR_1.0.4.tgz(r-4.4-emscripten)NAIR_1.0.4.tgz(r-4.3-emscripten)
NAIR.pdf |NAIR.html
NAIR/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/mlizhangx/network-analysis-for-repertoire-sequencing-/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

cppopenmp

4.21 score 27 scripts 203 downloads 40 exports 53 dependencies

Last updated 9 months agofrom:64e5f129c5. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 28 2024
R-4.5-linux-x86_64OKNov 28 2024

Exports:addClusterLabelsaddClusterMembershipaddClusterStatsaddGraphLabelsaddNodeNetworkStatsaddNodeStatsaddPlotsaggregateIdenticalClonesbuildAssociatedClusterNetworkbuildNetbuildPublicClusterNetworkbuildPublicClusterNetworkByRepresentativebuildRepSeqNetworkchooseNodeStatscombineSamplesexclusiveNodeStatsextractLayoutfilterInputDatafindAssociatedClonesfindAssociatedSeqsfindAssociatedSeqs2findPublicClustersgenerateAdjacencyMatrixgenerateNetworkFromAdjacencyMatgenerateNetworkGraphgenerateNetworkGraphPlotsgenerateNetworkObjectsgetClusterStatsgetNeighborhoodhamDistBoundedlabelClusterslabelNodeslevDistBoundedloadDataFromFileListnode_stat_settingsplotNetworkGraphsaveNetworksaveNetworkPlotssimulateToyDatasparseAdjacencyMatFromSeqs

Dependencies:cachemclicolorspacecpp11dplyrfansifarverfastmapgenericsggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtableigraphisobandlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmunsellnlmepillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadilloRcppEigenrlangscalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8vctrsviridisviridisLitewithr

buildRepSeqNetwork()/buildNet()

Rendered frombuildRepSeqNetwork.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-09-14
Started: 2023-09-14

Cluster Analysis

Rendered fromcluster_analysis.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-09-14
Started: 2023-09-14

Dual-Chain Network Analysis

Rendered fromdual_chain.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-09-14
Started: 2023-09-14

Introduction to the NAIR package

Rendered fromNAIR.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-09-27
Started: 2023-09-14

Node-Level Network Properties

Rendered fromnode_properties.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-09-14
Started: 2023-09-14

Supplementary Functions

Rendered fromsupplementary.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-09-14
Started: 2023-09-14

Readme and manuals

Help Manual

Help pageTopics
NAIR: Network Analysis of Immune RepertoireNAIR-package NAIR
Partition a Network Graph Into ClustersaddClusterMembership
Compute Cluster-Level Network PropertiesaddClusterStats
Compute Node-Level Network PropertiesaddNodeNetworkStats
Compute Node-Level Network PropertiesaddNodeStats
Generate Plots of a Network GraphaddPlots generateNetworkGraphPlots
Aggregate Counts/Frequencies for Clones With Identical Receptor SequencesaggregateIdenticalClones
Build Global Network of Associated TCR/BCR ClustersbuildAssociatedClusterNetwork
Build Global Network of Public TCR/BCR ClustersbuildPublicClusterNetwork
Build Global Network of Public TCR/BCR Clusters Using Representative ClonesbuildPublicClusterNetworkByRepresentative
Network Analysis of Immune RepertoirebuildNet buildRepSeqNetwork
Specify Node-level Network Properties to ComputechooseNodeStats exclusiveNodeStats node_stat_settings
Load and Combine Data From Multiple SamplescombineSamples loadDataFromFileList
Get Coordinate Layout From Graph PlotextractLayout
Filter Data Rows and Subset Data ColumnsfilterInputData
Identify TCR/BCR Clones in a Neighborhood Around Each Associated SequencefindAssociatedClones
Identify TCR/BCR Sequences Associated With a Binary VariablefindAssociatedSeqs findAssociatedSeqs2
Find Public Clusters Among RepSeq SamplesfindPublicClusters
Compute Graph Adjacency Matrix for Immune Repertoire NetworkgenerateAdjacencyMatrix sparseAdjacencyMatFromSeqs
Generate the 'igraph' for a Network Adjacency MatrixgenerateNetworkFromAdjacencyMat generateNetworkGraph
Generate Basic Output for an Immune Repertoire NetworkgenerateNetworkObjects
Compute Cluster-Level Network PropertiesgetClusterStats
Identify Cells or Clones in a Neighborhood Around a Target SequencegetNeighborhood
Bounded Computation of Hamming DistancehamDistBounded
Label Clusters in a Network Graph PlotaddClusterLabels labelClusters
Label Nodes in a Network Graph PlotaddGraphLabels labelNodes
Bounded Computation of Levenshtein DistancelevDistBounded
Plot the Graph of an Immune Repertoire NetworkplotNetworkGraph
Save List of Network ObjectssaveNetwork
Write Plots to a PDFsaveNetworkPlots
Generate Toy AIRR-Seq DatasimulateToyData