plotly_boxplot: Make a boxplot with coloring by experimental variable

View source: R/boxplot.R

plotly_boxplotR Documentation

Make a boxplot with coloring by experimental variable

Description

A simple function using plotly to make a sample boxplot. NOT CURRENTLY USED DUE TO RESOURCE REQUIREMENTS ON LARGE MATRICES

Usage

plotly_boxplot(
  plotmatrices,
  experiment,
  colorby,
  palette = NULL,
  expressiontype = "expression",
  palette_name = "Set1",
  annotate_samples = FALSE,
  should_log = NULL
)

Arguments

plotmatrices

Expression/ other data matrix, or named list thereof

experiment

Annotation for the columns of plotmatrix

colorby

Column name in experiment specifying how boxes should be colored

palette

Palette of colors, one for each unique value derived from colorby.

expressiontype

Expression type for use in y axis label

palette_name

Valid R color palette name

annotate_samples

Add a suffix to sample labels reflecting their group?

should_log

A boolean indicating if the log2 transformation should be applied. If TRUE, log2 transformation is applied unconditionally. If FALSE, no transformation is applied. If NULL, a conditional transformation based on threshold is applied.

Value

output A plotly output


pinin4fjords/shinyngs documentation built on May 5, 2024, 7:17 a.m.