Added an option (smooth.heat.type) to switch between using mean or median to smooth the cells when using smooth.heat.
Added (x.axis.reverse) and (y.axis.reverse) to allow user to flip the heatmap and label's orientation. For example, x.axis.reverse=F, y.axis.reverse=T will display matrix with origin (0,0) on the top left corner, with ascending number going downward on the y-axis. Have not tested with yr/yt options yet.
Label color (left.label.col, bottom.label.col) was getting sorted by the row-order when it is meant for the membership/cluster. Added if statement to only sort label color when label is for "variable".
Added an option (smooth.heat.type) to switch between using mean or median to smooth the cells when using smooth.heat.
Added (x.axis.reverse) and (y.axis.reverse) to allow user to flip the heatmap and label's orientation. For example, x.axis.reverse=F, y.axis.reverse=T will display matrix with origin (0,0) on the top left corner, with ascending number going downward on the y-axis. Have not tested with yr/yt options yet.
Label color (left.label.col, bottom.label.col) was getting sorted by the row-order when it is meant for the membership/cluster. Added if statement to only sort label color when label is for "variable".