plotBatchData: Plot ELISA data for one batch

Description Usage Arguments Details Value Examples

View source: R/BatchCorrection.R

Description

Plot the individual batch data for visualization.

Usage

1
plotBatchData(batch, graph.file = NULL)

Arguments

batch

batch data objects with 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.

Value

characters which is 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 1 data
plotBatchData(batches[[1]]);

ELISAtools documentation built on Jan. 21, 2021, 5:08 p.m.