plot_features: Draw boxplot + stripchart of selected feature(s)

Description Usage Arguments Value Author(s)

View source: R/visualization_functions.R

Description

This function generates boxplots + stripcharts of selected feature(s). Data are stratified by user defined conditions.

Usage

1
2
3
4
5
6
7
8
plot_features(
  rdr = NULL,
  feature_names = NULL,
  conditions = NULL,
  which_data = "scaled",
  max_range = F,
  user_range = NULL
)

Arguments

rdr

A RadAR object (class SummarizedExperiment).

feature_names

(character) Which feature(s) should be plotted. Available feature names are obtained by rowData(rdr)$feature_name.

conditions

(numeric, character) Vector of labels specifying conditions for each sample in rdr. Should have the same length of ncol(rdr).

which_data

(character) Which data use for plot. It can be one of the following: "normal", "scaled", "normalized".

max_range

(logical) Should plot(s) be ranged between min and max values?

user_range

(numeric) A vector of length 2 reporting min and max ylim values.

Value

none

Author(s)

Matteo Benelli (matteo.benelli@uslcentro.toscana.it)


cgplab/RadAR documentation built on Nov. 10, 2021, 1:32 a.m.