plotms: plot GC/LC-MS data as a heatmap with TIC

View source: R/general.R

plotmsR Documentation

plot GC/LC-MS data as a heatmap with TIC

Description

plot GC/LC-MS data as a heatmap with TIC

Usage

plotms(data, log = FALSE)

Arguments

data

imported data matrix of GC-MS

log

transform the intensity into log based 10

Value

heatmap

Examples

## Not run: 
library(faahKO)
cdfpath <- system.file('cdf', package = 'faahKO')
cdffiles <- list.files(cdfpath, recursive = TRUE, full.names = TRUE)
matrix <- getmd(cdffiles[1])
png('test.png')
plotms(matrix)
dev.off()

## End(Not run)

yufree/enviGCMS documentation built on Sept. 12, 2023, 6:34 p.m.