Commit af92db71 authored by DimitriMeistermann's avatar DimitriMeistermann
Browse files

resolve bug with generation of continuous color scale

parent 83602876
......@@ -93,7 +93,7 @@ genColorsForAnnots<-function(annots, colorScales=NULL,discreteFuns = list(mostDi
for(colorScaleName in colorScalesToGen){
annotVect<-annots[,colorScaleName]
if(is.numeric(annotVect)){
colorScale<-continuousPalettes[[cN]]
newColorScales[[colorScaleName]]<-continuousPalettes[[cN]]
cN<-cN+1
if(cN>length(continuousPalettes)) cN<-1
}else{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment