plot_MCI_Simulation {BioTIP} | R Documentation |
simulation of loci to calculate the Ic score.
plot_MCI_Simulation(MCI, simulation, las = 0, order = NULL, ylim = NULL, main = 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. Defualt is NULL. |
Return a line plot of MCI(red) and simulated MCI(grey) scores across all states
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)