feature_boxplot {structToolbox}R Documentation

Feature boxplots

Description

Plots a boxplot of a chosen feature for each group of a input factor.

Usage

feature_boxplot(
  label_outliers = TRUE,
  feature_to_plot,
  factor_name,
  show_counts = TRUE,
  ...
)

Arguments

label_outliers

[TRUE] or FALSE to label outliers on the plot

feature_to_plot

the column id to plot.

factor_name

the sample_meta column to use

show_counts

[TRUE] or FALSE to include the number of samples on the plot

...

additional slots and values passed to struct_class

Value

A struct chart object

Examples

D = MTBLS79_DatasetExperiment
C = feature_boxplot(factor_name='Species',feature_to_plot='Petal.Width')
chart_plot(C,D)

[Package structToolbox version 1.0.1 Index]