Plot microbe co-occurrence in a heatmap
microbeHeatmap(
dat,
sig.type = c("both", "increased", "decreased"),
tax.level = "mixed",
exact.tax.level = FALSE,
antagonistic = FALSE,
anno = "phylum",
top = 100,
fontsize = 6,
...
)
a data.frame
storing BugSigDB data.
character. Signature type. Use either "increased"
or
"decreased"
to subset to signatures with either increased or decreased abundance
in the exposed group, respectively. Default is "both"
which will not
subset by the direction of abundance change.
character. Either "mixed"
or any subset of
c("kingdom", "phylum", "class", "order", "family", "genus", "species",
"strain")
. This full vector is equivalent to "mixed"
.
logical. Should only the exact taxonomic level
specified by tax.level
be returned? Defaults to TRUE
.
If FALSE
, a more general tax.level
is extracted for
microbes given at a more specific taxonomic level.
logical. Antagonistic co-occurrence, ie occurring together
but one microbe up the other one is down? Defaults to FALSE
.
character. Taxonomic level that should be displayed as an annotation
bar. Defaults to "phylum"
.
integer. The number of microbes to display. Defaults to 100
.
integer. Fontsize for text. Defaults to 6
.
additional arguments to ComplexHeatmap::Heatmap
.
Plots to a graphics device. Returns the co-oocurence matrix invisibly.