plotDistribution {psichomics} | R Documentation |
The tooltip shows the median, variance, max, min and number of non-NA samples
of each data series (if data
contains names or column names, those
will be used as sample names and also appear in the tooltip).
plotDistribution( data, groups = NULL, rug = TRUE, vLine = TRUE, ..., title = NULL, psi = NULL, rugLabels = FALSE, rugLabelsRotation = 0 )
data |
Numeric, data frame or matrix: gene expression data or
alternative splicing event quantification values (sample names are based on
their |
groups |
List of sample names or vector containing the group name per
|
rug |
Boolean: show rug plot? |
vLine |
Boolean: plot vertical lines (including descriptive statistics for each group)? |
... |
Arguments passed on to
|
title |
Character: plot title |
psi |
Boolean: are |
rugLabels |
Boolean: plot sample names in the rug? |
rugLabelsRotation |
Numeric: rotation (in degrees) of rug labels; this
may present issues at different zoom levels and depending on the proximity
of |
Argument groups
can be either:
a list of sample names, e.g.
list("Group 1"=c("Sample A", "Sample B"), "Group 2"=c("Sample C")))
a character vector with the same length as data
, e.g.
c("Sample A", "Sample C", "Sample B")
.
highchart
object with density plot
Other functions to perform and plot differential analyses:
diffAnalyses()
data <- sample(20, rep=TRUE)/20 groups <- paste("Group", c(rep("A", 10), rep("B", 10))) names(data) <- paste("Sample", 1:20) plotDistribution(data, groups) # Using colours attr(groups, "Colour") <- c("Group A"="pink", "Group B"="orange") plotDistribution(data, groups)