Description Usage Arguments Value Examples
description
1 | extractplate(dat0, dat1, plate, replicate)
|
dat0 |
A list consisting of the following elements for the t0-specific data set: Replicate1: Data frame containing the first triplicate and 4 additional columns specifying the controls and their plate locations. Replicate2: Data frame containing the second triplicate and 4 additional columns specifying the controls and their plate locations. Replicate3: Data frame containing the third triplicate and 4 additional columns specifying the controls and their plate locations. |
dat1 |
A list consisting of the following elements for the t1-specific data set: Replicate1: Data frame containing the first triplicate and 4 additional columns specifying the controls and their plate locations. Replicate2: Data frame containing the second triplicate and 4 additional columns specifying the controls and their plate locations. Replicate3: Data frame containing the third triplicate and 4 additional columns specifying the controls and their plate locations. |
plate |
Specifies which of the 4 plates to be extracted. |
replicate |
Specfies which replicate to be extracted. |
This function returns a list consisting of the following elements:
dat0 |
Data frame containing the t0-specific plate of compounds and controls. |
dat1 |
Data frame containing the t1-specific plate of compounds and controls. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | set.seed(1234)
nc = 24
nr = 16
# create 1st replicate of data matrix with compounds and controls
r1 = matrix(abs(rnorm(nr*nc)), nr, nc)
# create 2nd replicate of data matrix with compounds and controls
r2 = matrix(abs(rnorm(nr*nc)), nr, nc)
# create 3rd replicate of data matrix with compounds and controls
r3 = matrix(abs(rnorm(nr*nc)), nr, nc)
# combine all replicate to create t0-specific data set
replicates_t0 = list(r1, r2, r3)
names(replicates_t0) = c("R1", "R2", "R3")
# create 1st replicate of data matrix with compounds and controls
r1 = matrix(abs(rnorm(nr*nc)), nr, nc)
# create 2nd replicate of data matrix with compounds and controls
r2 = matrix(abs(rnorm(nr*nc)), nr, nc)
# create 3rd replicate of data matrix with compounds and controls
r3 = matrix(abs(rnorm(nr*nc)), nr, nc)
# combine all replicate to create t1-specific data set
replicates_t1 = list(r1, r2, r3)
names(replicates_t1) = c("R1", "R2", "R3")
# extract plate 3, replicate 2
extractplate(replicates_t0, replicates_t1, plate=3, replicate=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.