This module makes a set of linked webpages for the quick and dirty analysis of PPI networks around one or more
sets of genes. A table of genes and their corresponding classes is used to make the initial front page tables.
Additional data tables can also be loaded and linked via the "Gene" field for individual Gene Pages. These must
be named in the format X.N.tdt, where N will be used as the tab name.
Additional classes can be added using the makeclass and classorder lists. Any classes in classorder that are not
found in indata will be added using the rules set by makeclass:
- go = GO term description or ID
- keyword = found in GO term description or protein description
- desc = found in protein description
- xref = adds PPI for protein identified from xrefdata table
- add = will only add a gene to a class if it does not already have one (no multiple-class genes)
indata=FILE : Input data for front pages 
pagehead=X : Text for Front Page Header [
'HAPPI Analysis of basefile']
infotext=X : Text to display under header [
'This data has not yet been published and should not be used without permission.']
genefield=X : Field to be used for indentifying Genes [
geneclass=X : Field used to identify class of Genes [
classcol=X : Table of "Class" and "Col" (soton$col indexes) to be used for PPI images [
fillcol=T/F : Fill in colour for missing class combinations [
classorder=LIST : List of Class orders (otherwise alphabetical) 
multiclass=T/F : Whether to allow membership of multiple classes (joined by "-" [
makeclass=LIST : Generate classes from classorder LIST if missing from indata (go/keyword/desc/xref(+ppi)/add*) [
genedata=LIST : List of additional data tables for Gene-centric pages. Must have "Gene" or genefield field. 
xrefdata=FILE : File of Database cross-references. Must have "Gene" field. 
xreftab=T/F : Add database cross-reference tabs to the front page Class tabs [
pairwise=FILE : Pairwise protein-protein interation (PPI) file 
addppi=LIST : List of additional PPI pairwise files to add 
addclass=T/F : Whether to add the Classes themselves to the PPI networks as nodes [
godata=FILE : Delimited file of GO Data (Gene,GO_ID,GO_Type,GO_Desc) [
gablam=FILE : Delimited GABLAM results file for homology data [
ppexpand=X : Expand PPI by X levels for MCODE complex generation [
ppcomplex=LIST : List of different evidence codes for special MCODE analyses [
ppextra=T/F : Make additional pages for genes added and returned in MCODE clusters [
combine=LIST : List of Classes to combine into Interactome for front page ('all' or '*' for all) 
special=LIST : Execute special analysis code for specific applications 
BASIC OUTPUT OPTIONS
htmlpath=PATH : Path of parent html directory [
stylesheets=LIST : List of CSS files to use [
border=X : Border setting for tables [
dropfields=LIST : Fields to exclude from summary tables 
makepng=T/F : Whether to (look for and) make PNG files with R [
pngmax=X : Max number of genes for PNG construction [
svg=T/F : Use SVG files instead of PNG files [
xgmml=T/F : Whether to also output XGMML files in PNG/SVG directories [
makepages=LIST : Types of pages to make [
titletext=FILE : File containing (Page,ID,Title) for mouseover text [
gopages=X : Create Pages of GO terms with X+ representative genes [
maxgo=X : Go terms above X genes will not have gene data tabs [
nobots=T/F : Whether to insert no-bot meta tag to pages [
FIGURE REMAKING OPTIONS
usepos=T/F : Whether to use existing Node positions if found [
updatepos=T/F : Whether to run an additional round of the layout algorithm if npos found [
* See also RJE_PPI Fragment and MCODE options *
* See also RJE_GO options *
See also rje.py generic commandline options.
History Module Version History
# 0.0 - Initial Compilation. Based on rje_hm_html.
# 0.1 - Added special methods for specific analyses.
# 0.2 - Added multiclass capability.
# 0.3 - Added GO enrichment to MCODE complexes.
# 0.4 - Added "expanded" MCODE complex and updated GO enrichment of complexes.
# 0.5 - Added class colour compilation.
# 0.6 - Replaced ppcomplex=T/F with list of different evidence codes for special MCODE analyses ['Complex']
# 0.7 - Added ppextra option for adding additional pages for genes added and returned in MCODE clusters.
# 0.8 - Added use of SVG PPI images in place of PNG.
# 0.9 - Added GZipping of XGMML files to save space.
# 1.0 - Fixed PNG/SVG XGMML directory issue. First release.
# 1.1 - Fixed SVG class naming issue (Cannot have *.class.svg!)
# 1.2 - Added addclass and refined output for Host-Pathogen PPI analysis.