Description Usage Arguments Value Author(s) Examples
View source: R/BioTIP_update_4_09282020_v3.R
This function generates a line plot over multiple states with the maximum MCI score per state. The module size (i.e., number of network nodes) is specified at each state in parentheses.
1 | plotMaxMCI(maxMCIms, MCIl, las = 0, order = NULL, states = NULL)
|
maxMCIms |
A list of 2 elements. The 1st element is an integer vector of module ids whose names are the state names.
The 2nd element is a list of character vectors per state. The vectors are network nodes (e.g. transcript ids).
This parameter can be obtained by running function |
MCIl |
A list of numeric vectors whose names are unique cluster ids.
Each vector represents the MCI scores of modules in a state.
This can be the second element of the output from the function |
las |
Numeric in 0, 1, 2, 3; the style of axis labels. Default is 0, meaning labels are parallel.
See |
order |
A vector of state names in the customized order to be plotted, setting to NULL by default. |
states |
A character vector of state names that will be shown on the plot, setting to NULL by default. Assign this if you want to show all states, including states with no resulted modules. This parameter will overwrite the parameter 'order'. |
Returns a line plot of maximum MCI scores across the states
Zhezhen Wang zhezhen@uchicago.edu
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.