plot.qts_sample: Plot for 'qts_sample' objects

View source: R/qts-sample-class.R

plot.qts_sampleR Documentation

Plot for qts_sample objects

Description

This function creates a visualization of a sample of QTS without returning the corresponding ggplot2::ggplot object

Usage

## S3 method for class 'qts_sample'
plot(x, memberships = NULL, highlighted = NULL, with_animation = FALSE, ...)

Arguments

x

An object of class qts_sample.

memberships

A vector coercible as factor specifying a group membership for each QTS in the sample. Defaults to NULL, in which case no grouping structure is displayed.

highlighted

A boolean vector specifying whether each QTS in the sample should be hightlighted. Defaults to NULL, in which case no QTS is hightlighted w.r.t. the others.

with_animation

A boolean value specifying whether to create a an animated plot or a static ggplot2::ggplot object. Defaults to FALSE which will create a static plot.

...

Further arguments to be passed to methods.

Value

No return value, called for side effects.

Examples

plot(vespa64$igp)

astamm/squad documentation built on Jan. 26, 2024, 5:30 p.m.