Description Usage Arguments Examples
This function makes a pretty heatmap illustrating how your genes are clustering.
1 2 3 | DE_heatmap(rawCounts, sampleTable, factorsToPlot, sampleTableNameCol,
myWidth, myHeight, myFilename, myColors, myAnnotationColors,
rowsplit = NULL)
|
rawCounts |
A dataframe representing counts in your dataset. Could be normalized (rlog(DESeqobject)) or not (counts(DESeqObject)) |
sampleTable |
Sample table used to import data in DESeq's DESeqDataSetFromHTSeqCount function |
factorsToPlot |
character list of sampleTable column names you want to plot alongside heatmap |
sampleTableNameCol |
the column of sampleTable with the sample names you want plotted. MUST MATCH COLNAMES OF rawCounts |
myWidth |
Width of svg output in inches |
myHeight |
Height of svg output in inches |
myFilename |
Name of svg file output |
myColors |
Color brewer palatte, or character vector of colors. This feeds into "colors" flag of pheatmap. Check out RColorBrewer for more colors |
rowsplit |
If you want clustering, indicate a number where you want the split to occur in the rows |
1 2 | DE_heatmap(myData_moduleGenes, sampleTable_plus, c('Genotype', 'PCR_integration', 'plas_backbone', 'plas_shp', 'transcripts_shp'),
'DESeqAnalysisID', 30,15, 'Expression_YlOrRed.png', myColors = colorRampPalette(rev(brewer.pal(n = 7, name = "YlOrRd")))(100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.