Learn R Programming

enviGCMS (version 0.7.1)

plotrug: plot 1-d density for multiple samples

Description

plot 1-d density for multiple samples

Usage

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

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)
plotrug(list$data)
plotrug(log(list$data), lv = as.factor(list$group$sample_group))

Run the code above in your browser using DataLab