Learn R Programming

cn.farms (version 1.20.0)

plotViolines: Create a violine plot

Description

This function creates a violine plot on intensity values

Usage

plotViolines(object, variable = "intensity", groups, ...)

Arguments

object
An instance of ExpressionSet
variable
states which variable of assayData should be plotted.
groups
Vector with the dimension of the samples for coloring.
...
Further arguments passed to the lattice graph.

Value

Creates a violine plot.

Examples

Run this code
load(system.file("exampleData/normData.RData", package = "cn.farms"))
normData <- normData[, 1:10]
groups <- seq(sampleNames(normData))
plotViolines(normData, variable = "intensity", groups, xlab = "Intensity values")

Run the code above in your browser using DataLab