View source: R/plotPairwiseReg.R
plotPairwiseReg | R Documentation |
Visualize pairwise gene coexpression correlations for a set of subtypes for two particular genes.
plotPairwiseReg(geneA, geneB, datExpr, design_mat,
legend_pos = "topleft", title = "Regression models")
geneA |
The first gene to plot. |
geneB |
The second gene in coexpression with the first gene. |
datExpr |
A gene expression matrix (gene rows by sample columns). |
design_mat |
A model matrix (sample rows by group columns) with 0 or 1 denoting membership in the group. |
legend_pos |
The position of the legend on the plot. Default = "topleft". |
title |
The title of the plot. Default = "Regression models" |
A plot of geneA vs geneB expression with subgroup correlations highlighted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.