plotIc {BioTIP}R Documentation

plot a line plot of Ic scores for each state.

Description

plot a line plot with Ic score for each state

Usage

plotIc(Ic, las = 0, order = NULL)

Arguments

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, set to NULL by default.

Value

Return a line plot of Ic score across states

Author(s)

Zhezhen Wang zhezhen@uchicago.edu

Examples

Ic = c('state3' = 3.4,'state1' = 5.6,'state2' = 2)
plotIc(Ic,order = c('state1','state2','state3'))

[Package BioTIP version 1.0.0 Index]