Learn R Programming

mAPKL (version 1.2.0)

report: Produce an HTML report of the mAP-KL analysis

Description

This function gathers the results of several analysis sessions ( feature selection, classification, annotation and network) and produces a report in HTML format.

Usage

report(mAPKLObj, ClassifyObj, AnnotObj=NULL, netObj=NULL, file)

Arguments

mAPKLObj
An object of mAPKL class.
ClassifyObj
An object of mAPKL class.
AnnotObj
An object of Annot class.
netObj
An object of NetAttr class.
file
The full path and the name of the produced report

Value

Upon successful completion an HTML report is saved in the working directory.

Details

It presents the data samples with their phenotype labels, the exemplars with their statistical scores( adj.p-value, p-value and fc), and network characteristics (like weighted local degree,closeness,betweenness, transitivity) if such a network analysis has been performed. In addition, the report presents the classification performance achieved by those exemplars (either cross-validation or hold-out), and finally several annoation information (symbol, entrez id, ensemble id, and their chromosomal location) if an annotation analysis has been carried out.

Examples

Run this code
## When a network attributes object is present
## Not run: report(out,class.pred,class.metrics,netObj=net.attr,
# "C:/.../.../mAPKLreport.html")#Define a local path to store your report## End(Not run)

## When an annotation object is present
## Not run: report(out,class.pred,class.metrics,gene.info,
# "C:/.../.../mAPKLreport.html")#Define a local path to store your report## End(Not run)

## Without annotation and network attributes objects
## Not run: report(out,class.pred,class.metrics,
# file="C:/.../.../mAPKLreport.html")#Define a local path to store your report## End(Not run)

Run the code above in your browser using DataLab