SummaryData | R Documentation |
This function gives indices such as Observed richness, Shannon index, Inverse Simpson, ... of higher level such as levelily, order, phylum, ...
SummaryData(Micro.mat, info, measure = "observed")
Micro.mat |
an OTU matrix with OTUs in rows and subjects in columns. |
info |
A n x 2 matrix containing a column of OTU's names and a column of the corresponding information of the chosen level. |
measure |
The indices at chosen level that user wishes to use. It can be observed richness, Shannon index, inverse Simpson, ... |
A matrix of the selected measurement of the chosen level.
level.measure |
A matrix of measurements at levelily level of patients |
Thi Huyen Nguyen, thihuyen.nguyen@uhasselt.be
Olajumoke Evangelina Owokotomo, olajumoke.x.owokotomo@gsk.com
Ziv Shkedy
SummaryData
# Read dataset
data(Week3_otu)
Week3_otu = data.frame(Week3_otu)
otu_mat_w3 = t(data.matrix(Week3_otu[ , 1:2720]))
data(fam_info_w3)
# USing the function
fam_shan_w3 = SummaryData(Micro.mat = otu_mat_w3, info = fam_info_w3, measure = "shannon")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.