FemModShow: Generates a figure showing the inferred FEM module(s)

Description Usage Arguments Value Author(s) References Examples

View source: R/FemModShow.R

Description

This function generates a network representation of an inferred FEM module.

Usage

1
FemModShow(mod, name, fem.o, mode="Integration")

Arguments

mod

the module of the FEM result object for which a figure is to be generated

name

the name for the output figure file

fem.o

FEM result object generated by DoFEMbi, DoEpiMod, or DoExpMod

mode

There are three modes: "Integration","Epi","Epx". "Integration" means the module is from DoFEMbi, "Epi" means the module is from DoEpiMod, "Exp" means the module is from DoExpMod.

Value

An igraph object representing the module. At the same time, the module graph is generated and saved as a "X.pdf" file with "X" the name given in the argument to the function.

Author(s)

"Yinming Jiao"<20907099@zju.edu.cn>, "Andrew E Teschendorff"<andrew@picb.ac.cn>

References

A systems-level integrative framework for genome-wide DNA methylation and gene expression data identifies differential gene expression modules under epigenetic control. Jiao Y, Widschwendter M, Teschendorff AE. Bioinformatics. 2014;30(16):2360-2366

Examples

1
2
data(Realdata)
FemModShow(Realdata$fembi.o$topmod$HAND2,name="HAND2",Realdata$fembi.o)

FEM documentation built on April 28, 2020, 8:56 p.m.