Learn R Programming

enviGCMS (version 0.7.1)

plotridge: plot ridgeline density plot

Description

plot ridgeline density plot

Usage

plotridge(data, lv = NULL, indexx = NULL, indexy = NULL, ...)

Value

ridgeline density plot

Arguments

data

matrix

lv

factor vector for the column

indexx

index for matrix row

indexy

index for matrix column

...

parameters for `title` function

Examples

Run this code
data(list)
plotridge(t(list$data),indexy=c(1:10),xlab = 'Intensity',ylab = 'peaks')
plotridge(log(list$data),as.factor(list$group$sample_group),xlab = 'Intensity',ylab = 'peaks')

Run the code above in your browser using DataLab