mp_extract_assays {MicrobiotaProcess}R Documentation

extract the abundance matrix from MPSE object or tbl_mpse object

Description

extract the abundance matrix from MPSE object or tbl_mpse object

Usage

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, ...)

Arguments

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.

Value

otu abundance a data.frame object


[Package MicrobiotaProcess version 1.5.9 Index]