Learn R Programming

ELISAtools (version 0.1.5)

plotAlignData: Plot all batch data together

Description

Plot the batch data together for visualization.

Usage

plotAlignData(batches, graph.file = NULL)

Value

characters which specify the graph file name, if graph.file is specified. NULL otherwise.

Arguments

batches

list of batch data objects either raw or analyzed data.

graph.file

characters as the output graph file name. If specified, a SVG (*.svg) graph will be saved to the disk. Otherwise, the graph will be send to the stdout.

Details

If the data has been analysed, a fitted line will be drawn too. If there are more than one batches, each batch will be plotted with different color and different synmbols. Different batches will also be shifted/adjusted based on their "S" factor, and one single fitted line (based on the "reference" batch) will be plotted.

Examples

Run this code
#load the library
library(ELISAtools)

#get file folder
dir_file<-system.file("extdata", package="ELISAtools")

#load the data
batches<-loadData(file.path(dir_file,"design.txt"))

#plot the raw batch data together
plotAlignData(batches);


Run the code above in your browser using DataLab