plotDistribution: Plot distribution through a density plot

Description Usage Arguments Value Examples

View source: R/analysis.R

Description

The tooltip shows the median, variance, max, min and number of non-NA samples of each data series.

Usage

1
2
plotDistribution(data, groups = "All samples", rug = TRUE, vLine = TRUE,
  ..., title = NULL, psi = TRUE)

Arguments

data

Numeric: data for one gene or alternative splicing event

groups

Character: group of each value in data

rug

Boolean: include rug plot to better visualise data distribution

vLine

Boolean: include vertical plot lines to indicate the mean and median of each group even when those groups are omitted

...

Extra parameters passed to density to create the kernel density estimates

title

Character: plot title

psi

Boolean: are data composed of PSI values?

Value

Highcharter object with density plot

Examples

1
2
3
data <- sample(20, rep=TRUE)/20
groups <- c(rep("A", 10), rep("B", 10))
plotDistribution(data, groups)

nuno-agostinho/psichomics documentation built on Nov. 1, 2017, 3:18 p.m.