Skip to content

Commit

Permalink
fixed bug in treatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfield committed Jun 5, 2019
1 parent 8b0a514 commit dc05642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/summary_functions.r
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ treatmap <- function(phylo,mat,mask=NULL,mask.color="lightgrey",overlay=NULL,asp

# Use mat.phylo if given, otherwise mat.col.order preferentially over mat.hclust to hierarchically cluster the matrix columns
if(!is.null(mat.phylo)){
hc = list(order=match(mat.phylo$tip.label,colnames(fc6c)))
hc = list(order=match(mat.phylo$tip.label,colnames(mat)))
}else if(!is.null(mat.col.order)){
hc = list(order=mat.col.order)
}else if(mat.hclust){
Expand Down

0 comments on commit dc05642

Please sign in to comment.