Plot.seed.module | R Documentation |
Plot the DEGs modules
## S3 method for class 'seed.module' Plot(res.module, ann = NULL, deg = NULL, col.order = NULL, show.mods = NULL, overlap = NULL, dissimilarity = NULL, max.n = min(length(res.module), 30), type = c("model", "max.patients", "max.genes")[1], label.col = "blue", ...)
res.module |
a 'seed.module' object returned by |
ann |
a data.frame for the patient annotation |
deg |
a 'deg' to display. It is returned by |
col.order |
the order of column in heatmap |
show.mods |
a vector, the modules to display |
overlap |
the similarity cutoff to display as carrying the module |
dissimilarity |
the similarity cutoff to display as not carrying the module |
max.n |
the maximum number of modules to display |
type |
the module type to display |
label.col |
the color to label |
... |
other setting of 'oncoPrint' |
This function is to display the relationship of the predicted DEG modules and the patients.
'deg' can be set to display the modules from different datasets, e.g. the modules predicted from disease A and display them in the binary DEG matrix of disease B.
The output is a heatmap Plot where the modules with maximum observations are showed.
A heatmap plot
Guofeng Meng
Plot(seed.mod, ann.er, max.n=5) Plot(seed.mod, ann.er, deg=deg, max.n=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.