peikert / proteomics

package development
1 stars 0 forks source link

clustPro html-widget not show in markdown documents #40

Closed peikert closed 6 years ago

peikert commented 7 years ago

This two example work fine in a markdown document.

library(d3heatmap)`
test2 <- d3heatmap(mtcars, scale="column", colors="Blues")

library(gradientPickerD3)
 payload <- list(
        colors = c("purple", "blue", "green", "yellow", "red"),
        ticks = c(-5, stats::runif(1, -4, -1), 0, stats::runif(1, 1, 4), 5)
      )
gradientPickerD3::gradientPickerD3(payload)

I fixed a bug in the gradientPickerD3 (see here) so please install package from github

library(devtools)
install_github("peikert/gradientPickerD3")

The must something wrong in the JS connector file I guess.

peikert commented 7 years ago

It seem to be that the clustpro elements aviable in the html document but not show. In the screenshots you can see that die height of the clustpro objects within the htmlwidget are set to 0px.

image image

numairmansur commented 7 years ago

Please check now.

numairmansur commented 7 years ago

Solution: Random ID generator for all the elements in clustpro

numairmansur commented 7 years ago

Problem only with navigation bar elements, so no need to do it for all of clustpro objects. If there is a need in the future or we see an error , we can do it then.

numairmansur commented 7 years ago

Should probably change the IDs for workspace colormap Continue renaming from Unscroll functionality

numairmansur commented 7 years ago

Everything should be fine now

peikert commented 7 years ago

Running the vignette still have the navigation bar error.

numairmansur commented 7 years ago

Please check now

peikert commented 6 years ago

fixed