powered by
Identical to running as.matrix(biom$counts).
as.matrix(biom$counts)
# S3 method for rbiom as.matrix(x, ...)
A base R matrix with OTUs as rows and samples as columns.
An rbiom object, such as from as_rbiom().
as_rbiom()
Not used.
Other conversion: as.list.rbiom()
as.list.rbiom()
library(rbiom) as.matrix(hmp50)[1:5,1:5]
Run the code above in your browser using DataLab