Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
xjsun1221 committed Feb 8, 2021
1 parent 706c395 commit b6edf57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: tinyarray
Type: Package
Title: simplify geo and tcga analysis and plots
Version: 2.0.2
Version: 2.0.3
Author: Xiaojie Sun
Maintainer: Xiaojie Sun <18763899370@163.com>
Description: Simplify geo and tcga analysis and plots
Expand Down
3 changes: 1 addition & 2 deletions R/1_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ draw_heatmap <- function(n,
rownames(annotation_col)=colnames(n)
col = color_an[1:length(levels(group_list))]
ann_colors = list(group = col)
names(ann_colors$group)=levels(group_list)

if(is.null(names(ann_colors$group)))names(ann_colors$group)=levels(group_list)
if(!scale_before){
p = pheatmap(n,
show_colnames =F,
Expand Down

0 comments on commit b6edf57

Please sign in to comment.