Learn R Programming

iCAMP (version 1.9.1)

Infer Community Assembly Mechanisms by Phylogenetic-Bin-Based Null Model Analysis

Description

To implement a general framework to quantitatively infer Community Assembly Mechanisms by Phylogenetic-bin-based null model analysis, abbreviated as 'iCAMP' (Ning et al 2020) . It can quantitatively assess the relative importance of different community assembly processes, such as selection, dispersal, and drift, for both communities and each phylogenetic group ('bin'). Each bin usually consists of different taxa from a family or an order. The package also provides functions to implement some other published methods, including neutral taxa percentage (Burns et al 2016) based on neutral theory model and quantifying assembly processes based on entire-community null models ('QPEN', Stegen et al 2013) . It also includes some handy functions, particularly for big datasets, such as phylogenetic and taxonomic null model analysis at both community and bin levels, between-taxa niche difference and phylogenetic distance calculation, phylogenetic signal test within phylogenetic groups, midpoint root of big trees, etc. Version 1.3.x mainly improved the function for 'QPEN' and added function 'icamp.cate()' to summarize 'iCAMP' results for different categories of taxa (e.g. core versus rare taxa).

Copy Link

Version

Install

install.packages('iCAMP')

Monthly Downloads

858

Version

1.9.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Daliang Ning

Last Published

September 24th, 2026

Functions in iCAMP (1.9.1)

bNRI.bin.cm

Calculate beta net relatedness index (betaNRI) for each phylogenetic bin under multiple metacommunities
bNRI.cm

Calculate beta net relatedness index with parallel computing under multiple metacommunities
bNRI.big.cm

Calculate beta net relatedness index under multiple metacommunities for big data
bNTI.big.cm

Beta nearest taxon index (betaNTI) from big data and under multiple metacommunities
bNRIn.p

Calculate beta net relatedness index with parallel computing
bNTI.cm

Calculate beta nearest taxon index (betaNTI) with parallel computing under multiple metacommunities
bNTI.big

Beta nearest taxon index (betaNTI) from big data
bNRI.bin.big

Calculate beta net relatedness index (betaNRI) for each phylogenetic bin
bNTI.bin.cm

Calculate beta nearest taxon index (betaNTI) for each phylogenetic bin under multiple metacommunities
bNTIn.p

Calculate beta nearest taxon index (betaNTI) with parallel computing
bNTI.bin.big

Calculate beta nearest taxon index (betaNTI) for each phylogenetic bin
bmntd

beta mean nearest taxon distance (betaMNTD)
bmntd.big

beta mean nearest taxon distance (betaMNTD) from big data
big.mantel.correlog

Mantel Correlogram and stepwise Mantel test for big data
dist.bin.3col

Convert a list of dist (or matrixes) to a matrix
bmpd

Beta mean pairwise distance (betaMPD)
cohend

Cohen's d effect size
dist.3col

Transform distance matrix to 3-column matrix
change.sigindex

Change significance index option in iCAMP analysis
bmpd.big

Beta mean pairwise distance (betaMPD) for big data
icamp.cm2

Phylogenetic-bin-based null model analysis under different metacommunity settings for phylogenetic and taxonomic null models
icamp.out

Example output of function icamp.big
null.norm

Normality test for null values
mpdn

Mean pairwise distance (MPD)
icamp.cate

Summarize iCAMP result for different categories of taxa
icamp.cm

Infer community assembly mechanism by phylogenetic-bin-based null model analysis under multiple metacommunities
match.name

Check and ensure the consistency of IDs in different objects.
mpd.big

Mean pairwise distance (MPD) from big data.
icamp.bins

Summarize iCAMP result in each bin
maxbigm

Find maximum value in a big matrix
midpoint.root.big

Midpoint root a large phylogeny
icamp.boot

Bootstrapping analysis of icamp results
example.data

A simple example dataset for test
dniche

Calculate niche difference between species
mntd.big

Mean nearest taxon distance (MNTD) for big data
iCAMP-package

Infer Community Assembly Mechanisms by Phylogenetic-bin-based null model analysis
match.2col

Check the consistency of the first two columns of different matrixes
metaset

Metacommunity settings
pdist.big

Pairwise phylogenetic distance matrix from big tree
taxa.binphy.big.cm

Phylogenetic binning based on phylogenetic tree for multi-metacommunity data
taxa.binphy.big

Phylogenetic binning based on phylogenetic tree
mntdn

Mean nearest taxon distance (MNTD)
ps.bin

Test within-bin phylogenetic signal
icamp.big

Infer community assembly mechanism by phylogenetic-bin-based null model analysis
qpen

Quantifying assembly processes based on entire-community null model analysis
qpen.test

Summary and comparison of QPEN results based on bootstrapping
pdist.p

Pairwise phylogenetic distance matrix from small tree
qp.bin.js

Calculate relative importance of community assembly processes
tree.droot

Distance from root to tip(s) and node(s) on phylogenetic tree
tree.path

List nodes and edge lengthes from root to each tip and/or node
qpen.cm

Quantifying assembly processes based on entire-community null model analysis under multiple metacommunities
snm

Estimation of neutral taxa percentae and dispersal rate
RC.bin.cm

Calculate modified Roup-Crick index based on Bray-Curtis similarity for each phylogenetic bin under multiple metacommunities
NTI.p

Calculate nearest taxon index (NTI) with parallel computing
RC.cm

Modified Raup-Crick index based on Bray-Curtis similarity under multiple metacommunities
NTI.cm.big

Calculate nearest taxon index (NTI) under multiple metacommunities for big data
NTI.cm

Calculate nearest taxon index (NTI) under multiple metacommunities
NRI.cm.big

Calculate net relatedness index (NRI) under multiple metacommunities for big data
RC.pc

Modified Raup-Crick index based on Bray-Curtis similarity
NRI.p

Calculate net relatedness index (NRI) by parallel computing.
RC.bin.bigc

Calculate modified Roup-Crick index based on Bray-Curtis similarity for each phylogenetic bin
NRI.cm

Calculate net relatedness index (NRI) under multiple metacommunities