HotLoadings.heat_map_long: Plot Heatmap the long way

Description Usage Arguments Value See Also

View source: R/rich_loadings.R

Description

The user need to previously launch HotLoadings.names, HotLoadings.top_features, in order to make this function works. Otherwise use HotLoadings.heat_map

Usage

1
2
3
4
5
6
7
8
9
HotLoadings.heat_map_long(
  data.splsda,
  top_feature,
  PSOBJ,
  sample_name,
  Y_name,
  feature_names,
  facet_formula = NULL
)

Arguments

data.splsda

A sPLS-DA object from mixomics.

top_feature

A data frame containing n_top features generated by HotLoadings.top_features.

PSOBJ

A phyloseq object.

sample_name

A character string indicating which is the variable with sample names.

Y_name

A character string indicating which is the variable associated with component specified. Must be a dicothomous variable.

feature_names

A character vector containing feature names.

facet_formula

A formula for facetting (default is NULL).

Value

The function plots heatmap for n_top features in rows and samples in columns.

See Also

HotLoadings.plot_loadings_long or HotLoadings.plot_loadings to plot loadings.


mcalgaro93/HotLoadings documentation built on June 13, 2021, 10:01 p.m.