Learn R Programming

MetaPath (version 1.0)

plotMAPE: Plot MAPE outcomes

Description

This function will plot two figures. The first figure is the Venn diagram to show the overlapped enriched pathways identified by MAPE_G, MAPE_P and MAPE_I. The second figure is the heatmap of the q-values of enriched pathways.

Usage

plotMAPE(MAPE.obj, cutoff, MAPE.method = c("MAPE_I", "MAPE_P", "MAPE_G"))

Arguments

MAPE.obj
The output of MAPE.
cutoff
The q-value cutoff.
MAPE.method
The MAPE method of interest.

Value

A heatmap of q-values of enriched pathways will be plotted. When plot the heatmap, if the MAPE.method is MAPE_I, it will plot the q-values of enriched pathways for each individual study and q-values computed by three MAPE methods. if the MAPE.method is MAPE_P, it will plot the q-values of enriched pathways for each individual study and q-values computed by the MAPE_P method. if the MAPE.method is MAPE_G, it will plot the q-values of enriched pathways for each individual study and q-values computed by the MAPE_G method.

Examples

Run this code
## Not run: 
# plot.MAPE(MAPE.obj, cutoff=0.05, MAPE.method = "MAPE_I") 
# ## End(Not run)

Run the code above in your browser using DataLab