Learn R Programming

SEPA (version 1.2.2)

windowGOvisualize: windowGOvisualize

Description

Visualize results of GO analysis with moving window for transition patterns

Usage

windowGOvisualize(GOres, GOTerm = NULL, topterm = 2, mode = "Heatmap")

Arguments

GOres
The direct output of windowGOanalysis function.
GOTerm
The name of GO term to be displayed. If NULL, top GO terms will be displayed instead
topterm
The number of top GO terms to be displayed. This argument only works when GOTerm is NULL.
mode
To plot in heatmap or line graph. Either "Heatmap" or "Line".

Value

A ggplot2 object.

Details

This function is specifically designed to visualize the results obtained from windowGOanalysis function. Users can choose to visualize specific GO terms or top GO terms in each time window

Examples

Run this code
library(topGO)
data(HSMMdata)
pattern <- pseudotimepattern(HSMMdata,pseudotime)
windowGOvisualize(windowGOanalysis(pattern,type="constant_up"))

Run the code above in your browser using DataLab