Description Usage Arguments Examples
View source: R/DRAP_code_1.5.11.r
Plot growth curves for body weight of mouses.
1 2 3 |
data |
a data frame of measured body weight data of mouse. |
level |
the level to present, "Animal" level or "Arm" level. |
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'. |
position.dodge |
Dodging preserves the vertical position of an geom while adjusting the horizontal position. |
... |
other parameters passed to ggplot. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ### oneAN pattern
data(oneAN.bw.data)
plotBWeightGC(data = oneAN.bw.data,level = 'Animal',
pattern = 'oneAN')
plotBWeightGC(data = oneAN.bw.data,level = 'Arm',
pattern = 'oneAN',position.dodge = 0.5)
### TAN pattern
data(TAN.bw.data)
plotBWeightGC(data = TAN.bw.data,level = 'Animal',
pattern = 'TAN')
plotBWeightGC(data = TAN.bw.data,level = 'Arm',
pattern = 'TAN',position.dodge = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.