Learn R Programming

dpcR (version 0.5)

bioamp: A function to analyze plot the raw data from a Bio-Rad droplet digital PCR experiment

Description

bioamp is a function to plot and analyze the amplitude data of a Bio-Rad droplet digital PCR experiment.

Usage

bioamp(data = data, amp_x = 1, amp_y = 2, cluster = 3,
  robust = TRUE, plot = TRUE, stat = TRUE,
  xlab = "Assay 1 Amplitude", ylab = "Assay 2 Amplitude", ...)

Arguments

data

object of class what containing the amplitude data.

amp_x

is the first amplitude channel (x-axis).

amp_y

is the second amplitude channel (y-axis).

cluster

are the clusters of the plot. The number indicates the column of a table, which contains the cluster information.

robust

Is the method used to calculate the location (mean or median) and dispersion (standard deviation or median absolute deviation).

plot

logical, if TRUE, the plot is printed.

stat

logical, if TRUE, the statistics of the droplet digital PCR experiment are calculated.

xlab

x-label of the plot.

ylab

y-label of the plot.

other arguments passed to the plot function (see plot.default for details).

Examples

Run this code
# NOT RUN {
par(mfrow = c(1,2))
bioamp(data = pds_raw[["D01"]], main = "Well D01", pch = 19)
bioamp(data = pds_raw[["D02"]], main = "Well D02", pch = 19)
par(mfrow = c(1,1))

# }

Run the code above in your browser using DataLab