Skip to content

Commit

Permalink
Merge pull request #29 from FertigLab/updateBranch
Browse files Browse the repository at this point in the history
Fixed bug with patternMarker heatmap
  • Loading branch information
rossinerbe authored Mar 3, 2020
2 parents 65d628f + cc3dd57 commit acedc41
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/heatmap_pattern_marker_regions.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,14 @@ heatmapPatternMarkers = function(cgaps_result, atac_data, celltypes, numregions

if(order == TRUE) {
gplots::heatmap.2(allPatSubset, density.info="none", trace="none",
dendrogram='none', Rowv=FALSE, Colv=FALSE, ColSideColors = colColors,
dendrogram='none', Rowv=FALSE, Colv=FALSE,
ColSideColors = colColors, RowSideColors = rowCols,
labRow = NA, labCol = as.character(sort(celltypes)), ...)
}
else {
gplots::heatmap.2(allPatSubset, density.info="none", trace="none",
dendrogram='none', Rowv=FALSE, Colv=FALSE, ColSideColors = colColors,
dendrogram='none', Rowv=FALSE, Colv=FALSE,
ColSideColors = colColors, RowSideColors = rowCols,
labRow = NA, labCol = as.character(celltypes), ...)
}
}

0 comments on commit acedc41

Please sign in to comment.