DatasetExperiment_dist: Feature distribution histogram

View source: R/dataset_chart_classes.R

DatasetExperiment_distR Documentation

Feature distribution histogram

Description

A histogram to visualise the distribution of values within features.

Usage

DatasetExperiment_dist(factor_name, per_class = TRUE, ...)

Arguments

factor_name

(character) The name of a sample-meta column to use.

per_class

(logical) Plot per class. Allowed values are limited to the following:

  • "TRUE": The distributions are plotted for each class.

  • "FALSE": The distribution is plotted for all samples.

The default is TRUE.

...

Additional slots and values passed to struct_class.

Value

A DatasetExperiment_dist object. This object has no output slots. See chart_plot in the struct package to plot this chart object.

Examples

D = MTBLS79_DatasetExperiment()
C = DatasetExperiment_dist(factor_name='Class')
chart_plot(C,D)

computational-metabolomics/structToolbox documentation built on Feb. 6, 2023, 2:43 p.m.