Learn R Programming

MicrobTiSDA (version 0.1.0)

plot.MicrobTiSDA.MSERvisual: Plot Method for MicrobTiSDA MSER Visualization Objects

Description

This function prints feature cluster plots stored in a MicrobTiSDA.MSERvisual object. Users can specify which groups and which clusters within each group to plot. If groups or clusters is NULL, all groups or clusters are plotted.

Usage

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

Value

The input MicrobTiSDA.MSERvisual object, return invisibly.

Arguments

x

A MicrobTiSDA.MSERvisual 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