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

View source: R/plotmzrt.R

plotpeakR Documentation

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, ...)

Arguments

data

matrix

lv

factor vector for the column

indexx

index for matrix row

indexy

index for matrix column

...

parameters for 'title' function

Value

parallel coordinates plot

Examples

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)

enviGCMS documentation built on Feb. 16, 2023, 8:08 p.m.