You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see you have done alpha-diversity assessment by using Inverse Simpson index, how could I assess the alpha-diversity by richness using Chao1 and ACE?
The text was updated successfully, but these errors were encountered:
library(vegan)
#> Loading required package: permute#> Loading required package: lattice#> This is vegan 2.5-7
library(dplyr)
#> #> Attaching package: 'dplyr'#> The following objects are masked from 'package:stats':#> #> filter, lag#> The following objects are masked from 'package:base':#> #> intersect, setdiff, setequal, union
load("~/Desktop/clean_data.Rdata")
abund_mat<-obj$data$otu_rarefied[, sample_data$SampleID]
alpha_data<- t(estimateR(t(abund_mat))) # needs to be transposed with t because vegan expects columns to be taxa and then transposed backsample_data<- bind_cols(sample_data, as.data.frame(alpha_data))
hist(sample_data$S.ACE)
I can see you have done alpha-diversity assessment by using Inverse Simpson index, how could I assess the alpha-diversity by richness using Chao1 and ACE?
The text was updated successfully, but these errors were encountered: