mp_extract_assays {MicrobiotaProcess} | R Documentation |
extract the abundance matrix from MPSE object or tbl_mpse object
mp_extract_assays(x, .abundance, byRow = TRUE, ...) ## S4 method for signature 'MPSE' mp_extract_assays(x, .abundance, byRow = TRUE, ...) ## S4 method for signature 'tbl_mpse' mp_extract_assays(x, .abundance, byRow = TRUE, ...) ## S4 method for signature 'grouped_df_mpse' mp_extract_assays(x, .abundance, byRow = TRUE, ...)
x |
MPSE or tbl_mpse object |
.abundance |
the name of abundance to be extracted. |
byRow |
logical if it is set TRUE, 'otu X sample' shape will return, else 'sample X otu' will return. |
... |
additional parameters. |
otu abundance a data.frame object