Description Usage Arguments Details Value Author(s)
Create single column heatmap of mean expression values (across samples) Needs plotly
1 2 3 4 |
exprDataFrame |
Data frame - Gene x sample expression values (counts, tpm, whatever) |
genes |
Character - Gene symbols that appear as row names in exprDataFrame |
samples |
Character - Sample names that appear as column names in exprDataFrame |
L2 |
Logical - Whether to take log2 of values |
yticklabSize |
Numeric - Font size for gene symbols |
figHeightPerGene |
Numeric - |
figWidth |
Numeric - |
colorsPlot |
Color ramp - |
ncolors |
Numeric - |
plotTitle |
String - |
minVal |
Numeric - |
maxVal |
Numeric - |
fileOut |
String - If given, save png to with this filename |
Given a gene-by-sample dataframe with expression values, and (optionally) a list of the genes and samples you want included, make a one-column heatmap of mean expression using plotly. Note that, probably because I'm not set up to do the paying thing, some stuff doesn't get incorporated into the output png.
Plotly object
Emma Myers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.