DatasetExperiment_boxplot: Feature distribution histogram

Description Usage Arguments Value Examples

View source: R/dataset_chart_classes.R

Description

A boxplot to visualise the distribution of values within a subset of features.

Usage

1
2
3
4
5
6
7
DatasetExperiment_boxplot(
  factor_name,
  by_sample = TRUE,
  per_class = TRUE,
  number = 50,
  ...
)

Arguments

factor_name

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

by_sample

(logical) Plot by sample. Allowed values are limited to the following:

  • "TRUE": The data is plotted across features for a subset of samples.

  • "FALSE": The data is plotted across samples for a subset of features.

The default is TRUE.

per_class

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

  • "TRUE": The data is plotted for each class.

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

The default is TRUE.

number

(numeric, integer) The number of features/samples plotted. The default is 50.

...

Additional slots and values passed to struct_class.

Value

A DatasetExperiment_boxplot object.

struct object

Examples

1
2
3
D = MTBLS79_DatasetExperiment()
C = DatasetExperiment_boxplot(factor_name='class',number=10,per_class=FALSE)
chart_plot(C,D)

structToolbox documentation built on Nov. 8, 2020, 6:54 p.m.