-
Notifications
You must be signed in to change notification settings - Fork 14
Fix 817 - Add HTMLWidgets barcharts #883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…sholds pass thresholds to rbm-viz as a simple vector/array
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks awesome @MayaGans and @mattroumaya! Left some minor comments but otherwise everything's working wonderfully on my end.
I am going to babel-ify rbm-viz so the widgets work natively in RStudio on my end. I don't know what's different about my environment but transpiling should do the trick.
if (strMethod != "identity") { | ||
lCharts$scatter <- gsm::Visualize_Scatter(dfFlagged = lData$dfFlagged, dfBounds = lData$dfBounds, strGroupLabel = strGroup) | ||
if (!bQuiet) cli::cli_alert_success("{.fn Visualize_Scatter} created {length(lCharts)} chart.") | ||
|
||
if (exists('dfBounds', lData)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed in addition to line 178? It's in every _Assess
function except AE_Assess
.
if (!bQuiet) cli::cli_alert_success("{.fn Visualize_Scatter} created {length(lCharts)} chart.") | ||
|
||
# rbm-viz charts ---------------------------------------------------------- | ||
lCharts$scatterJS <- scatterPlot( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer Widget or Interactive here if I may be so pedantic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samussiah will update the naming in a separate PR, think that'll make things a tad easier
Co-authored-by: Spencer Childress <spencer.c.childress@gmail.com>
Co-authored-by: Spencer Childress <spencer.c.childress@gmail.com>
Co-authored-by: Spencer Childress <spencer.c.childress@gmail.com>
pkgdown updates
Fix #817
Overview
Ported
rbm-viz
intogsm
:AE_Assess()
inst
barChart.R
Test Notes/Sample Code
To do:
Make_Snapshot()
aren't working when passed tobarChart()
threshold
andconfig
arguments forbarChart()
ggplot
in*_Assess()
?Study_Report()
?JS
to the plot name for now)