marker_table<- {microbiomeMarker}R Documentation

Assign marker_table to object

Description

This function replace the marker_table slot of object with value.

Usage

marker_table(object) <- value

Arguments

object

a microbiomeMarker object to modify.

value

new value to replace the marker_table slot of object. Either a marker_table-class, a data.frame that can be coerced into marker_table-class.

Value

a microbiomeMarker object.

Examples

data(enterotypes_arumugam)
mm <- run_limma_voom(
    enterotypes_arumugam,
    "Enterotype",
    contrast = c("Enterotype 3", "Enterotype 2"),
    pvalue_cutoff = 0.1,
    p_adjust = "fdr"
)
mm_marker <- marker_table(mm)
mm_marker
marker_table(mm) <- mm_marker[1:2, ]
marker_table(mm)

[Package microbiomeMarker version 1.0.2 Index]