format_hits_for_heatmap: Format significant hits results so that it can be shown as an...

Description Usage Arguments Value Examples

View source: R/diff_tests.R

Description

Format significant hits results so that it can be shown as an annotation by pheatmap().

Usage

1

Arguments

hits

results object consisting the significant hits obtained from format_hits().

Value

data frame consisting the significant hits and their statistical significance as a character vector - c(" NS", "*", "**", "***").

Examples

1
2
3
4
5
6
7
8
## Not run: 

x <- test_differential_prevalence(physeq, group = "Diet", block = "Enterotype")
y <- format_hits(x)
z <- format_hits_for_heatmap(y)
p <- draw_taxa_heatmap(physeq, taxa_data = z, group = "Diet", block = "Enterotype")

## End(Not run)

TBrach/MicrobiomeX documentation built on April 19, 2018, 12:25 a.m.