Learn R Programming

MicrobTiSDA (version 0.1.0)

plot.MicrobTiSDA.visual: Plot Method for MicrobTiSDA Visual Objects

Description

This function prints feature cluster plots stored in a MicrobTiSDA.visual object. Users can specify which groups and which clusters within each group to plot. If groups is NULL, all groups will be displayed. If clusters is NULL, all clusters within the selected groups will be plotted.

Usage

# S3 method for MicrobTiSDA.visual
plot(x, groups = NULL, clusters = NULL, ...)

Value

The input MicrobTiSDA.visual object, return invisibly.

Arguments

x

A MicrobTiSDA.visual object containing feature cluster plots in the plots list element.

groups

A character vector specifying the names of groups to plot. If NULL, all groups in x$plots will be plotted.

clusters

An integer vector specifying which clusters to plot within each selected group. If NULL, all clusters are plotted.

...

Additional arguments (currently not used) for compatibility with generic plot methods.