INWTlab / shinyMatrix

https://inwtlab.github.io/shinyMatrix/
Other
19 stars 6 forks source link

Styling not working for ShinyMatrix #18

Closed claycantrell closed 3 years ago

claycantrell commented 3 years ago

Hello!

I have not been able to get shiny-matrix to display in the proper stylized format with grid lines and such.

I have provided a simple example program I found on the internet, which seems to load fine in the example, and a screenshot of how the application looks when I load it on my computer.

Screen Shot 2021-04-15 at 6 06 53 PM

Any help would be greatly appreciated.

Thanks!

-Clay

app.R.zip

aneudecker commented 3 years ago

Hi @claycantrell,

thanks for reporting this! The reason for this is that an updated shiny version included different css classes. In the new development version on GitHub this should be fixed as we include our own set of styles.

claycantrell commented 3 years ago

Hi @aneudecker, thanks for getting back to me!

Is it possible to delete the row and column name cells on the far left and top of the matrix? I can remove the names but I can't seem to be able to get rid of the cells as well.

aneudecker commented 3 years ago

Could you post the code how you are creating the matrix and a screenshot? It should be possible to achieve this with the correct parameters

claycantrell commented 3 years ago

I can't seem to find a parameter that fits the bill from this source. https://cran.r-project.org/web/packages/shinyMatrix/readme/README.html

Let me know if I'm missing something. Once again, thanks for the help!

Screen Shot 2021-05-14 at 1 44 59 PM Screen Shot 2021-05-14 at 1 45 47 PM
aneudecker commented 3 years ago

@claycantrell Thanks for the details. You are right, this is a bug that was introduced in version 0.5.0 of the package.

You can disable the names by setting rows = list(names = FALSE), cols = list(names = FALSE) using the package version 0.5.1 that I just uploaded on GitHub. You can install using devtools::install_github("INWTlab/shiny-matrix").

Hope this solves your issues!

trodgers0131 commented 3 years ago

Will this update be posted to CRAN anytime in the next few days? I can use the github version for the time being, but ideally, I'd prefer the CRAN version long-term. Thanks!

aneudecker commented 3 years ago

Hi @trodgers0131,

I just created version 0.6.0 of the package and released it to CRAN. Should be available soon.

trodgers0131 commented 3 years ago

Thanks!

trodgers0131 commented 3 years ago

It's a very handy tool btw. We're definitely putting it to good use. Keep up the good work!

aneudecker commented 3 years ago

0.6.0 has been released to CRAN. This resolves this issue.