Skip to content

Commit

Permalink
Fixed bug in 'plot.lambda.selection'
Browse files Browse the repository at this point in the history
  • Loading branch information
schmic05 committed Jul 30, 2018
1 parent 6715024 commit aa95e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ plot.lambda.selection<-function(

for(elt in 1:length(elts)){

vals<-getStatistics(MeDeComSet, K, lmbd, cg_subset, statistic=elts[elt])
vals <- as.numeric(getStatistics(MeDeComSet, K, lmbd, cg_subset, statistic=elts[elt]))
offs<-(max(vals[!is.na(vals)])-min(vals[!is.na(vals)]))/5

if(!all(is.na(vals))){
Expand Down

0 comments on commit aa95e9d

Please sign in to comment.