Bioinformatics
Year: 2017
Link: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5870771/
Rarefaction toolkit (RTK...RTK除了可以做稀释曲线,还能计算Pielou’s evenness, chao 1, Shannon,Simpson等多样性指数。...install.packages("rtk")
library(rtk)
#基本用法:
#rtk(input, repeats = 10, depth = 1000, ReturnMatrix = 1,...,rep(1:10, 100)),
size = 10000, replace = TRUE), ncol = 80)
data.r rtk...(input = data, depth = samplesize)
# 多个重抽深度
d2 rtk(input = data, depth = round(seq(1, samplesize,