GetRA {MicrobiomeSurv} | R Documentation |
This function convert OTU matrix to RA matrix.
Description
This function convert OTU matrix to RA matrix.
Usage
GetRA(Micro.mat)
Arguments
Micro.mat |
an OTU matrix with OTUs in rows and subjects in columns. |
Value
A relative abundance matrix of OTUs
ra |
Relative abundance matrixs |
Author(s)
Thi Huyen Nguyen, thihuyen.nguyen@uhasselt.be
Olajumoke Evangelina Owokotomo, olajumoke.x.owokotomo@gsk.com
Ziv Shkedy
See Also
Examples
# 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)
[Package MicrobiomeSurv version 0.1.0 Index]