v1.3.0
Changes:
plotHeatmap
acceptsdata.frame
orExpressionSet
objects for the data argument (callsdata.matrix
orexprs
on object and sends to matrix version)- Added
plotBarplot
to plot a barplot for 1 cluster or comparison of 2 clusters along with tests. - Added
whichClusters
argument toclusterMatrix
to return only clusters corresponding to certain clusters. Mainly relevant for using arguments likeworkflow
that are used by other commands (otherwise could just index the complete matrix manually...)
Bug fixes:
plotHeatmap
now goes through theclusterLegend
input and removes levels that do not exist in the sampleData; this was causing incorrect coloring when theclusterLegend
had more (or less) levels that it assigned color to than thesampleData
did (e.g. ifsampleData
was a subset of larger dataset upon which the original colors were assigned.) NOTE: that this now has the effect of NOT plotting all values in the clusterLegend if they are not represented in the data, thus changing the previous behavior ofplotHeatmap
legend.- fixed bug in how
plotHeatmap
checked that the dimensions of user-supplied dendrogram match that of data (matrix version). - fixed
convertClusterLegend
so whenoutput
ismatrixNames
ormatrixColors
, the resulting matrix has thecolnames
equal to cluster labels, likeclusterMatrix
.