Generate interactive volatility plot
Generate an interactive control chart depicting the longitudinal volatility
of sample metadata and/or feature frequencies across time (as set using the
"state_column" parameter). Any numeric metadata column (and metadata-
transformable artifacts, e.g., alpha diversity results) can be plotted on
the y-axis, and are selectable using the "metric_column" selector. Metric
values are averaged to compare across any categorical metadata column using
the "group_column" selector. Longitudinal volatility for individual
subjects sampled over time is co-plotted as "spaghetti" plots if the
"individual_id_column" parameter is used. state_column will typically be a
measure of time, but any numeric metadata column can be used.
Parameters
- metadata : Metadata
- Sample metadata file containing individual_id_column.
- state_column : Str
- Metadata column containing state (time) variable information.
- individual_id_column : Str, optional
- Metadata column containing IDs for individual subjects.
- default_group_column : Str, optional
- The default metadata column on which to separate groups for comparison
(all categorical metadata columns will be available in the
visualization).
- default_metric : Str, optional
- Numeric metadata or artifact column to test by default (all numeric
metadata columns will be available in the visualization).
- table : FeatureTable[RelativeFrequency], optional
- Feature table containing metrics.
- yscale : Str % Choices('linear', 'pow', 'sqrt', 'log'), optional
- y-axis scaling strategy to apply.
Returns
visualization : Visualization