Learn R Programming

pctax (version 0.1.1)

aor: Calculate Abundance-occupancy_relationship

Description

Calculate Abundance-occupancy_relationship

Plot a AOR

Usage

aor(otutab, ...)

# S3 method for data.frame aor( otutab, top_r = 0.7, ocup_n = ceiling(0.8 * ncol(otutab)), special_n = ceiling(0.1 * ncol(otutab)), ... )

# S3 method for AOR plot(x, ...)

Value

AOR

ggplot

Arguments

otutab

otutab

...

add

top_r

percentage of top relative abundance

ocup_n

percentage of top occupied

special_n

how many occupancy define as specialists

x

AOR object

References

Barberán, A., Bates, S. T., Casamayor, E. & Fierer, N. (2012) Using network analysis to explore co-occurrence patterns in soil microbial communities.

Examples

Run this code
data(otutab, package = "pcutils")
aor(otutab) -> AOR
plot(AOR)

Run the code above in your browser using DataLab