griffithlab / GenVisR

Genome data visualizations
Creative Commons Zero v1.0 Universal
210 stars 62 forks source link

clinLayer mainLayer are not pass to the plot in waterfall #366

Open pcw271 opened 5 years ago

pcw271 commented 5 years ago

I do below, but the legend doesn't change the position. waterfall(data.frame(subset(test, select = c("sample","gene","variant_class"))), fileType = "Custom" , variant_class_order=mutation_priority , mainRecurCutoff = 0.01 , mainGrid = TRUE , mainXlabel = FALSE , clinData=new_clinical , clinLayer = theme(legend.position = "bottom", legend.box = "horizontal") , mainLayer = theme(legend.position = "top", legend.box = "horizontal") , maxGenes = 30 , plotMutBurden = FALSE)