mp_extract_assays-methods: extract the abundance matrix from MPSE object or tbl_mpse...

mp_extract_assaysR 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


YuLab-SMU/MicrobiotaProcess documentation built on July 26, 2024, 4:21 a.m.