plotOneExp: plot dose response curve from fitOneExp() result

Description Usage Arguments

Description

plot dose response curve from fitOneExp() result

Usage

1
2
3
4
5
  plotOneExp(fitRes, ind2plot = NA, cols = NA,
    type = "plot", style = "full", h = c(0.3, 0.5, 0.7),
    tag = NA, main = NA, cex.main = 1, xlab = NA,
    ylab = NA, ylim = NA, xlim = NA, show = "both",
    cexLegend = NA, showTopN = NA, lwd = 2)

Arguments

fitRes

return value from fitOneExp()

ind2plot

index for the models that will be plotted; default is NA which leads to all curves available; when specified as 'best', the best model is selected

col

color for the lines

type

either plot or line; when specified as line, it will only adds to an existing figure; When length(ind2plot)>1, type will be reset to plot which means the first curve will be made with plot() and additional ones with lines()

h

horizontal line added to the figure, i.e. indicating IC50, IC70

tag

tag before main

main

main

cex.main

cex.main to adjust main title size

ylim

ylim

xlim

xlim

xlab

xlab

ylab

ylab

style

if style == 'full', the outlier status as well as its legend will be shown; if style=='simple', the points and legend for outlier status will be removed; if style=='points', only points will be shown; this is useful if to compare multiple curves from different drugs.

show

either RSE, IC50 or both indicating if we need to show RSE and/or IC50 in addition to the model

cexLegend

legend cex

showTopN

if specified show best N model in figure to avoid busy plotting; otherwise show all successful models.

lwd

line width for the curves


nickytong/drexplorerExtra documentation built on May 20, 2019, 9:15 p.m.