plotEndpoint: visulize the tumor volume data measured at the end of...

Description Usage Arguments Examples

View source: R/DRAP_code_1.5.11.r

Description

visulize the tumor volume data measured at the end of experiment.

Usage

1
plotEndpoint(data, pattern, orders = NULL,type = c('barplot','boxplot'), ...)

Arguments

data

a data frame of measured tumor volume data.

pattern

the pattern of PDX trial design, "oneAN" or "TAN".

orders

the redefined order for visulization. For oneAN pattern,the order is redifined orders of the 'Arms'; for TAN pattern, the order is redifined orders of the 'Tumor'.

type

the type to visulize, "barplot" or "boxplot".

...

other parameters passed to ggplot.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
### oneAN pattern
data(oneAN.volume.data)
plotEndpoint(oneAN.volume.data,type = 'boxplot',pattern = 'oneAN')
plotEndpoint(oneAN.volume.data,type = 'barplot',pattern = 'oneAN')


### TAN pattern
data(TAN.volume.data)
plotEndpoint(TAN.volume.data,pattern = 'TAN',type = 'barplot')
plotEndpoint(TAN.volume.data,pattern = 'TAN',type = 'boxplot')

SCBIT-YYLab/DRAP documentation built on April 7, 2020, 2:03 a.m.