plotIc {BioTIP} | R Documentation |
plot a line plot with Ic score for each state
plotIc( Ic, las = 0, order = NULL, ylab = "Ic", col = "black", main = NULL, add = FALSE, ylim = NULL, lty = 1:5, lwd = 1 )
Ic |
A vector with names of states. If order is not assigned, then plot by the order of this vector. |
las |
Numeric in 0, 1, 2, 3; the style of axis labels. Default is 0, meaning labels are parallel. (link to http://127.0.0.1:21580/library/graphics/html/par.html). |
order |
A vector of state names in the customized order to be plotted, setting to NULL by default. |
ylab |
titles y axes, as in plot. |
col |
vector of colors. Colors are used cyclically. |
main |
A character vector. The title of the plot. Default is NULL. |
add |
logical. If TRUE, plots are added to current one. This is inherited from matplot. |
ylim |
An integer vector of length 2. Default is NULL. |
lty |
An vector of line types. This is also inherited from matplot. |
lwd |
Anineger of line widths. This is also inherited from matplot. |
Return a line plot of Ic score across states.
Zhezhen Wang zhezhen@uchicago.edu
Ic = c('state3' = 3.4, 'state1' = 5.6, 'state2' = 2) plotIc(Ic, order = c('state1', 'state2', 'state3'))