Skip to content
Snippets Groups Projects
Commit cd15d5cc authored by karcher's avatar karcher
Browse files

trying to push my stuff

parent 4404f86b
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ hist(richness, 20)
Alternatively, we can measure species richness (described above) and evenness together. Evenness describes how differently (or evenly) bacteria are distributed in samples: If all bacterial abundances are the same, evenness is maximal.
A typically employed measure here is the shannon-index, defined as the negative sum of relative abundances times their natural logarithm, combining richness and evenness into a compound metric.
A typically employed measure here is the Shannon-index, defined as the negative sum of relative abundances times their natural logarithm, combining richness and evenness into a compound metric.
```{r shannon}
shannon_index <- apply(rel.tax.profiles + 1e-5, 2, function(x){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment