Learn R Programming

ArArRedux (version 0.1)

plot.timeresolved: Plot a time resolved mass spectrometry signal

Description

Plots the raw signal of a given isotope against time.

Usage

## S3 method for class 'timeresolved':
plot(x, label, mass, ...)

## S3 method for class 'PHdata': plot(x, label, mass, ...)

Arguments

x
an object of class timeresolved or PHdata
label
a string with the name of the run
mass
a string indicating the isotope of interest
...
optional parameters

Examples

Run this code
samplefile <- system.file("Samples.csv",package="ArArRedux")
masses <- c("Ar37","Ar38","Ar39","Ar40","Ar36")
mMC <- loaddata(samplefile,masses)
plot(mMC,"MD2-1a","Ar40")
mPH <- loaddata(samplefile,masses,PH=TRUE)
plot(mPH,"MD2-1a","Ar40")

Run the code above in your browser using DataLab