View source: R/reduceDimension_WGCNA.R
get_eigen | R Documentation |
Compute module eigen genes
get_eigen(
gene.mod,
norm.dat,
select.cells = colnames(norm.dat),
prefix = NULL,
method = "ward.D",
hc = NULL,
...
)
gene.mod |
A list of gene modules. |
norm.dat |
log transformed normalized data matrix. |
select.cells |
Cells used to compute module eigen genes. |
prefix |
Default NULL. If not NULL, a heatmap of the gene module eigen genes will be produced with "prefix" as the prefix for the pdf file. |
method |
Default "ward.D". Used by hclust method to create the cell dendrogram for the heatmap display. |
hc |
Precomputed cell dendrogram for heatmap display. Default NULL. |
... |
Other plotting parameters passed to the heatmap function. |
A list with two elements: module eigen genes, and if prefix is not NULL, dendrogram for selected cells.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.