GetRA | R Documentation |
This function convert OTU matrix to RA matrix.
GetRA(Micro.mat)
Micro.mat |
an OTU matrix with OTUs in rows and subjects in columns. |
A relative abundance matrix of OTUs
ra |
Relative abundance matrixs |
Thi Huyen Nguyen, thihuyen.nguyen@uhasselt.be
Olajumoke Evangelina Owokotomo, olajumoke.x.owokotomo@gsk.com
Ziv Shkedy
GetRA
# Read dataset
data(Week3_otu)
Week3_otu = data.frame(Week3_otu)
otu_mat_w3 = t(data.matrix(Week3_otu[ , 1:2720]))
# Convert absolute abundance to relative abundance
ra_otu_trim_w3 = GetRA(Micro.mat = otu_mat_w3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.