# NOT RUN {
## ------------------------------------------------
## Method `trans_nullmodel$new`
## ------------------------------------------------
data(dataset)
data(env_data_16S)
t1 <- trans_nullmodel$new(dataset, taxa_number = 100, add_data = env_data_16S)
## ------------------------------------------------
## Method `trans_nullmodel$cal_mantel_corr`
## ------------------------------------------------
# }
# NOT RUN {
t1$cal_mantel_corr(use_env = "pH")
# }
# NOT RUN {
## ------------------------------------------------
## Method `trans_nullmodel$plot_mantel_corr`
## ------------------------------------------------
# }
# NOT RUN {
t1$plot_mantel_corr()
# }
# NOT RUN {
## ------------------------------------------------
## Method `trans_nullmodel$cal_betampd`
## ------------------------------------------------
# }
# NOT RUN {
t1$cal_betampd(abundance.weighted=FALSE)
# }
# NOT RUN {
## ------------------------------------------------
## Method `trans_nullmodel$cal_betamntd`
## ------------------------------------------------
# }
# NOT RUN {
t1$cal_betamntd(abundance.weighted=FALSE)
# }
# NOT RUN {
## ------------------------------------------------
## Method `trans_nullmodel$cal_ses_betampd`
## ------------------------------------------------
# }
# NOT RUN {
t1$cal_ses_betampd(runs = 100, abundance.weighted = FALSE)
# }
# NOT RUN {
## ------------------------------------------------
## Method `trans_nullmodel$cal_ses_betamntd`
## ------------------------------------------------
# }
# NOT RUN {
t1$cal_ses_betamntd(runs = 100, abundance.weighted = FALSE, exclude.conspecifics = FALSE)
# }
# NOT RUN {
## ------------------------------------------------
## Method `trans_nullmodel$cal_rcbray`
## ------------------------------------------------
# }
# NOT RUN {
t1$cal_rcbray(runs=200)
# }
# NOT RUN {
## ------------------------------------------------
## Method `trans_nullmodel$cal_process`
## ------------------------------------------------
# }
# NOT RUN {
t1$cal_process(use_betamntd = TRUE)
# }
Run the code above in your browser using DataLab