Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotAlignData

Plot all batch data together


Description

Plot the batch data together for visualization.

Usage

plotAlignData(batches, graph.file = NULL)

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.

Value

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

Examples

#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);

ELISAtools

ELISA Data Analysis with Batch Correction

v0.1.5
MIT + file LICENSE
Authors
Feng Feng [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.