Learn R Programming

enviGCMS (version 0.7.1)

plotpeak: plot intensity of peaks across samples or samples across peaks

Description

plot intensity of peaks across samples or samples across peaks

Usage

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

Value

parallel coordinates 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)
# selected peaks across samples
plotpeak(t(list$data), lv = as.factor(c(rep(1,5),rep(2,nrow(list$data)-5))),1:10,1:10)
# selected samples across peaks
plotpeak(list$data, lv = as.factor(list$group$sample_group),1:10,1:10)

Run the code above in your browser using DataLab