View source: R/gcn_inference.R
plot_gene_significance | R Documentation |
Plot a heatmap of gene significance
plot_gene_significance(corandp, palette = "RdYlBu", transpose = FALSE, ...)
corandp |
A data frame of gene-trait correlations as returned
by |
palette |
Character indicating which RColorBrewer palette to use. Default: 'RdYlBu'. |
transpose |
Logical indicating whether to transpose the heatmap or not. |
... |
Additional arguments to |
Significance levels: 1 asterisk: significant at alpha = 0.05. 2 asterisks: significant at alpha = 0.01. 3 asterisks: significant at alpha = 0.001. no asterisk: not significant.
A 'Heatmap' object created by ComplexHeatmap::pheatmap()
.
data(filt.se)
gcn <- exp2gcn(filt.se, SFTpower = 18, cor_method = "pearson")
corandp <- gene_significance(filt.se)
plot_gene_significance(corandp, show_rownames = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.