plotNlsData {mixlow}R Documentation

Plot results obtained from nonlinear least-squares analysis

Description

Plots results from the doNls function

Usage

plotNlsData(nlsData, mixlowData, trays=getTrays(mixlowData), ask, 
    showBlanks=TRUE)

Arguments

nlsData A list obtained from the doNls function
mixlowData A list obtained from the prepareData function
trays A vector of strings indicating the trays for which data should be plotted.
ask Logical. If TRUE (and the R session is interactive) the user is asked for input, before a new figure is drawn.
showBlanks Logical. If TRUE, data from the optical control wells (“blanks”) in a tray are included in the graph. Default is TRUE

Details

Plots concentration-response curves for each tray and each drug. See plotMixlowData for more information about the plots of concentration-response data and optical control data.

Value

A list of length equal to the number of trays with components:

graphDataTray A list of graph data per tray with components:
tray
Tray name
drug
Drug name
cell
Cell line name
Units
Units of measurement
title
Title for plot
adjResp
Adjusted response data
adjConc
Adjusted concentration data
ylim
y limits of plot
linesY
Response values for mean line between group replicates
linesX
Concentration values for mean line between group replicates
blankPointsY
Responses from optical control wells
blankPointsX
Concentrations for optical control wells
blankLineY
Responses for optical control data line
blankLineX
Concentrations for optical control data line
predLinesY
Predicted responses
predLinesX
Concentrations for predicted responses
graphDataDrug A list of graph data per drug with components:
trays
Tray names
Units
Units of measurement
title
Title for plot
drug
Drug name
y
Adjusted responses
x
Adjusted concentrations
ylim
y limits of plot
lineList
List of x and y coordinates for each line of plot
legend
Legend for plot

Author(s)

John Boik jcboik@stanford.edu

See Also

doNls, plotMixlowData

Examples

# mixlowData data object is obtained using the prepareData function
data(mixlowData)
trays <- getTrays(mixlowData)
# nlsData data object is obtained using the doNls function
data(nlsData)
saved_nls_GraphingData <- plotNlsData(nlsData=nlsData, mixlowData=mixlowData, 
  trays= trays[1:9], ask=FALSE, showBlanks= TRUE)

[Package mixlow version 0.01.1 Index]