distribSamples: Distribute replicated samples randomly across a 96-well plate

Description Usage Arguments Value Examples

Description

Distribute replicated samples randomly across a 96-well plate

Usage

1
2
distribSamples(samples, replicates = 3, wells = NULL, blockLength = NULL,
  palette = "Set2", alpha.f = 0.5)

Arguments

samples

Vector of string containing the sample names

replicates

Integer, number of replicate to generate for each sample name

wells

Optional, vector containing the wells to be used, for example generated using rectWells(). If NULL, uses the whole plate. If blockLength is used, this has no effect.

blockLength

Optional, can be either 2, 4 or 8. If given, tries to optimize distribution for use with multichannel pipette using sample blocks of length blockLength

Value

Data frame with the plate plan

Examples

1
2
3
4
5
6
7
samples = c("c0", "c1", "c2", "c3", "c4", "c5", "c6", "w", "DNase+", "DNase-",
            "EGTA-", "incub90", "incub75", "incub60", "dil2", "dil4", "dil8",
            "dil16", "dil32", "toto1", "toto2", "toto3", "toto4", "a1", "a2",
            "a3", "a4", "a5", "b1", "b2", "b3", "b4")
d = distribSamples(samples, replicates = 3, blockLength = 4, palette = "Pastel1",
                   alpha.f = 1)
savePlan(d, "toto.pdf")

mdjbru-R-packages/plate96 documentation built on May 22, 2019, 3:37 p.m.