Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phoeguo committed Aug 15, 2018
1 parent f8af0c2 commit fea2cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/g3Lollipop.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ g3Lollipop <- function(mutation.dat,
factor.col <- guessMAFColumnName(mutation.dat, factor.col)
message("Factor is set to ", factor.col)

if(is.na(plot.options$legendTitle) && !is.na(factor.col)){
if(is.null(plot.options$legendTitle) && !is.na(factor.col)){
plot.options$legendTitle <- factor.col
}

Expand Down

0 comments on commit fea2cf9

Please sign in to comment.