Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/plot.pigengene.R
Plots a couple of heatmaps of expression of the eigengenes, weights (memberships), and so on. Saves the plots in png format.
1 2 3 4 5 6 7 |
x |
The object from |
saveDir |
The dirctory for saving the plots |
DiseaseColors |
A vector of characters determining color for each disease. Names
should match the values in the first column of
|
fontsize |
Passd to |
doShowColnames |
Boolean |
fontsizeCol |
Numeric |
doClusterCols |
Boolean |
verbose |
The integer level of verbosity. 0 means silent and higher values produce more details of computation. |
doShowRownames |
Boolean |
pngfactor |
A numeric adjusting the size of the png files |
do0Mem |
If |
... |
Passd to |
Many of the arguments are passed to pheatmap
.
A list of:
heat |
The full output of |
heatNotRows |
The full output of |
Habil Zare ad Amir Foroushani
Large-scale gene network analysis reveals the significance of extracellular matrix pathway and homeobox genes in acute myeloid leukemia, Foroushani A, Agrahari R, Docking R, Karsan A, and Zare H. In preparation.
Pigengene-package
,
compute.pigengene
,
pheatmap.type
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Data:
data(aml)
data(mds)
data(eigengenes33)
d1 <- rbind(aml,mds)
Labels <- c(rep("AML",nrow(aml)),rep("MDS",nrow(mds)))
names(Labels) <- rownames(d1)
Labels <- c(rep("AML",nrow(eigengenes33$aml)),rep("MDS",nrow(eigengenes33$mds)))
names(Labels) <- rownames(d1)
toyModules <- eigengenes33$modules[colnames(d1)]
## Computing:
p1 <- compute.pigengene(Data=d1, Labels=Labels, modules=toyModules,
saveFile="pigengene.RData", doPlot=TRUE, verbose=3)
plot(p1,saveDir="plots")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.