compare_dist: Compare distributions

View source: R/dataset_chart_classes.R

compare_distR Documentation

Compare distributions

Description

Histograms and boxplots computed across samples and features are used to visually compare two datasets e.g. before and after filtering and/or normalisation.

Usage

compare_dist(factor_name, ...)

Arguments

factor_name

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

...

Additional slots and values passed to struct_class.

Value

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

Inheritance

A compare_dist object inherits the following struct classes:

⁠[compare_dist]⁠ >> ⁠[chart]⁠ >> ⁠[struct_class]⁠

Examples

M = compare_dist(
      factor_name = "V1")

D1=MTBLS79_DatasetExperiment(filtered=FALSE)
D2=MTBLS79_DatasetExperiment(filtered=TRUE)
C = compare_dist(factor_name='Class')
chart_plot(C,D1,D2)

computational-metabolomics/structToolbox documentation built on July 5, 2024, 12:18 p.m.