plot_MCI_Simulation {BioTIP} | R Documentation |
Box plots of observed (red) and simulated MCI scores by boostraping genes B
times,
with three horizontal lines: the min, max and 2*(max-min) value of the state of interests, or all all values.
plot_MCI_Simulation( MCI, simulation, las = 0, order = NULL, ylim = NULL, main = NULL, which2point = NULL, ... )
MCI |
A named vector of max CI scores per state, can be obtained from function |
simulation |
A matrix state * number of simulated times, can be obtained from function |
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, set to NULL by default. |
ylim |
An integer vector of length 2. Default is NULL. |
main |
A character vector. The title of the plot. Default is NULL. |
which2point |
A character (or integer) which state's values were used to set up the three horizontal lines. by default is NULL, indicating the values of all states will be used. |
... |
Other parameters passed to this function |
Return a box plot of MCI(red) and simulated MCI(grey) scores per state.
Zhezhen Wang zhezhen@uchicago.edu
MCI = c(1:3); names(MCI) = c('a', 'b', 'c') simMCI = matrix(sample(1:100, 9), 3, 3) row.names(simMCI) = names(MCI) plot_MCI_Simulation(MCI, simMCI)