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
3
4
5
plotDistribution(data, groups = "All samples", rug = TRUE, vLine = TRUE,
  ..., title = NULL, psi = TRUE)

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

Arguments

data

Numeric, data frame or matrix: data for one gene or alternative splicing event

groups

List of characters (list of groups containing data identifiers) or character vector (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 Feb. 15, 2018, 7:49 a.m.