Description Usage Arguments Details Value Note Author(s) See Also Examples
Creates adpcr
and dpcr
objects from data.
1 2 3 |
data |
a |
n |
|
exper |
The id of experiments. |
replicate |
The id of technical replicates. |
assay |
The name or id of assays. |
type |
Object of class |
v |
The volume of partitions [nL]. |
uv |
The volume uncertainty of partitions [nl]. |
threshold |
|
adpcr |
|
col_names |
|
row_names |
|
panel_id |
|
This constructor function assists in creation of objects used by other functions of the package. It is also responsible for checking the correctness of arguments.
A warning is prompted whenever any of arguments is converted to other type.
An adpcr
or dpcr
object.
create_dpcr
is a preferred to calling directly
new
.
Currently only end-point measurements are supported.
Michal Burdukiewicz, Stefan Roediger.
Streamlined, but more limited version: df2dpcr
1 2 3 4 5 6 7 8 9 10 11 12 | # Droplet digital PCR example
sample_runs <- matrix(rpois(60, lambda = 1.5), ncol = 2)
ddpcr1 <- create_dpcr(sample_runs[,1], n = 30L,
threshold = 1, type = "nm", adpcr = FALSE)
ddpcr2 <- create_dpcr(sample_runs[,2], n = 30L,
threshold = 1, type = "nm", adpcr = FALSE)
plot_vic_fam(ddpcr1, ddpcr2)
# Array digital PCR example
sample_adpcr <- create_dpcr(rpois(765, lambda = 0.8), n = 765L,
type = "nm", adpcr = TRUE)
plot_panel(sample_adpcr, 45, 17)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.