plotGlobalGraph: Plot a global graph of the drug

Description Usage Arguments Details Value Author(s) Examples

View source: R/plotGlobalGraph.R

Description

The 'plotGlobalGraph()' identifies the drug label entered by the user, and plots an integrated diagram including box plot of the normalized drug-disease reverse association scores, null distribution curves of significant P-value, and heat map of cancer subtype sample distribution.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plotGlobalGraph(
  data,
  drug.label = "",
  overall.main = "",
  overall.cex.main = 1.5,
  cex.submap.axis = 1,
  cex.submap.lab = 1,
  cex.submap.main = 1,
  cex.submap.sub = 1,
  cex.legend = 1
)

Arguments

data

A list of result data generated by function 'PrioSubtypeDrug()'.

drug.label

A character string of drug labels to determine which drug to use for visualization.

overall.main

An overall title for the whole graph. If the user does not make any input, the title will display a drug label.

overall.cex.main

The magnification to be used for overall.main (default: 1.5).

cex.submap.axis

The magnification to be used for axis of each submap annotation relative to the current setting of cex.

cex.submap.lab

The magnification to be used for x and y labels of each submap relative to the current setting of cex.

cex.submap.main

The magnification to be used for main titles of each submap relative to the current setting of cex.

cex.submap.sub

The magnification to be used for sub titles of each submap relative to the current setting of cex.

cex.legend

fontsize of labels for legend.

Details

plotGlobalGraph

Value

A plot.

Author(s)

Xudong Han, Junwei Han, Chonghui Liu

Examples

1
2
3
4
5
## Get the result data of PrioSubtypeDrug().
## The data is based on the simulated breast cancer subtype data.
Subtype_drugs<-get("Subtype_drugs")
## Plot a global graph of the drug pirenperone(1.02e-05M).
plotGlobalGraph(data=Subtype_drugs,drug.label="pirenperone(1.02e-05M)")

SubtypeDrug documentation built on May 17, 2021, 9:09 a.m.