plot_median_effect: generate plot for the fit from median-effect model

Description Usage Arguments

Description

generate plot for the fit from median-effect model

Usage

1
2
3
plot_median_effect(medianEffect, type = c("medianEffect", "doseResponseCurve",
  "contour"), contour.level = (1:9)/10, logd = FALSE, cex.legend = 1,
  align = TRUE, ylim = c(0, 1), legend.position = "topright")

Arguments

medianEffect

the fitted result by fit_median_efect()

type

type of plot, options are from c('medianEffect', 'doseResponseCurve', 'contour')

contour.level

levels (between 0 and 1 representing different response values) to draw contour plot

logd

whether to plot logd in Dose-response curve; only effective if type=='doseResponseCurve'

cex.legend

cex for the legend text'

align

whether to align dose range. Imagine that 2 drugs are mixed in fixed ratio, the doses in one drug will have low doses that the other drug and mixture do not have which some biologists deams as a waste of graphic region. An easy fix is to truncate xlim. this is only only effective if type=='doseResponseCurve'

legend.position

legend position passed to legend() function


nickytong/drexplorer documentation built on May 23, 2019, 5:08 p.m.