Description Usage Arguments Examples
View source: R/DRAP_code_1.5.11.r
Visulize TGI of each Arms.
1 |
data |
the output of function TGI. |
pattern |
the pattern of PDX trial design, "oneAN" or "TAN". |
scope |
the scope of time point to visulize, whether "end,point" or "all.point". |
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'. |
... |
other parameters passed to ggplot. |
1 2 3 4 5 6 7 8 9 10 11 12 | ### oneAN pattern
data(oneAN.volume.data)
oneAN.tgi <- TGI(data = oneAN.volume.data,neg.control = 'Control',method = 'AUC',pattern = 'oneAN')
plotTGI(oneAN.tgi,pattern = 'oneAN',scope = 'end.point')
plotTGI(oneAN.tgi,pattern = 'oneAN',scope = 'all.point')
### TAN pattern
data(TAN.volume.data)
TAN.tgi <- TGI(TAN.volume.data, neg.control = 'Control',pattern = 'TAN',method = 'AUC')
plotTGI(TAN.tgi,pattern = 'TAN',scope = 'end.point')
plotTGI(TAN.tgi,pattern = 'TAN',scope = 'all.point')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.