plotAlignData: Plot all batch data together

Description Usage Arguments Details Value Examples

View source: R/BatchCorrection.R

Description

Plot the batch data together for visualization.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#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 documentation built on Jan. 21, 2021, 5:08 p.m.