dosePlot: plot dose data

View source: R/plot_functions.R

dosePlotR Documentation

plot dose data

Description

plot data for dose in model.id

Usage

dosePlot(
  object,
  model.id,
  max.time = NULL,
  treatment.only = FALSE,
  vol.normal = FALSE,
  concurrent.time = FALSE,
  point.shape = 21,
  point.size = 3,
  line.size = 4,
  point.color = "#878787",
  line.color = "#bababa",
  fill.col = c("#f5f5f5", "#E55100"),
  modify.x.axis = FALSE
)

Arguments

object

Xeva object.

model.id

one or multiple model.id

max.time

Maximum time point of the plot. Default NULL will plot complete data

treatment.only

Default FALSE. Given full data treatment.only=TRUE will plot data only during treatment

vol.normal

Default FALSE. If TRUE, volume will be normalized

concurrent.time

Default FALSE. If TRUE, cut the batch data such that control and treatment will end at the same time point

point.shape

shape of the point

point.size

size of the point

line.size

size of the line

point.color

color for point

line.color

color for line

fill.col

a vector with color to fill

modify.x.axis

Default FALSE

Value

A ggplot2 plot

Examples

data(brca)
dosePlot(brca, model.id=c("X.6047.LJ16","X.6047.LJ16.trab"), fill.col=c("#f5f5f5", "#993404"))

bhklab/Xeva documentation built on Nov. 30, 2024, 3:17 a.m.