plotSamples: Scatter plot for parallel line models

Description Usage Arguments Details Value Author(s)

Description

Make one scatter plot of the samples in a parallel line assay, with fitted models.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
plotSamples(dataframe,
            LMfits,
            sampleLabels = levels(unlist(dataframe["Sample"])),
            indexOfReference = 1,
            pdfName = "SpecifiedModel.pdf",
            joinReplicates = TRUE,
            showRho = TRUE,
            xlab = "Log(Dosis)",
            ylab = "Response: Response",
            pch = 14 + as.numeric(unlist(dataframe["Replicate"])),
            cex = 2,
            lwd = 4,
            colTst = "black",
            colRef = "grey",
            colRho = "grey80",
            main = "Parallel Line Model",
            sub = "Specified Model")

Arguments

dataframe

The data.frame with relevant variables (Replicate, Response, indexOfTreatment, Z, and Zjitter), created by jitterSteps in pla.plots.

LMfits

Result of lm with relevant regression coefficients. Fitted values, intercepts and slopes are extracted from this model.

sampleLabels

See pla.plots.

indexOfReference

See pla.plots.

pdfName

See pla.plots.

joinReplicates

If TRUE the samples from same block or row are joined by lines in the plots for unrestricted models, i.e. for the models with dilution as a factor.

showRho

If TRUE then the potency is displayed in the plot for the restricted model.

xlab

A character string giving the title on horizontal axis of the plot.

ylab

A character string giving the title on vertical axis of the plot.

pch

Vector of symbols for plot, par.

cex

See par about size of characters for plot.

lwd

See par about line width for plot.

colTst

See pla.plots.

colRef

See pla.plots.

colRho

See pla.plots.

main

See pla.plots.

sub

See pla.plots.

Details

This function is called from pla.plots.

Value

No values returned.

Author(s)

Jens Henrik Badsberg


pla documentation built on May 2, 2019, 11:12 a.m.