-
Notifications
You must be signed in to change notification settings - Fork 4
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
Vignette interactivity #88
Conversation
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
I'll create a separate ticket for mobile interactivity. Most of it should be easy enough, but the selection controls might require some work |
@dicook thinks the variables shown for pdfsense are not quite right - there shouldn’t be the big gap - Variables 7 through to 62, but use for 6 PCs of a PCA @casperhart Can you double check on this? |
Something like this code to pre-process:
data(pdfsense)
# play around with the gamma parameter
pcs <- prcomp(pdfsense[, 7:ncol(pdfsense)])
pdfsense <- bind_cols(
pdfsense,
as.data.frame(pcs$x)
)
# This is the class variable to use for colour
pdfsense$Type <- factor(pdfsense$Type)
# Standardise all to have same scale
pdfsense_rs <- select(pdfsense, PC1:PC6) %>%
mutate_all(.funs = function(x) (x - mean(x)) / sd(x))
On 15 Feb 2022, at 11:14 am, Earo Wang ***@***.***> wrote:
@dicook thinks the variables shown for pdfsense are not quite right - there shouldn’t be the big gap - Variables 7 through to 62, but use for 6 PCs of a PCA
@casperhart Can you double check on this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
cheers,
Di
…---
Dianne Cook
***@***.***
|
The issue with the gap in the plot was that the variables for the label aesthetic were also being used in the tour itself, e.g. I've also found the issue with the icons not showing on mobile. I've gotten them to show, but the controls will require some work for touch screen. That will be covered in #89. When documenting the pdfsense dataset, I'm not sure whether to include the data in the package directly or have |
Should suggest {liminal}, and call |
9c338eb
to
59f68ef
Compare
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
vignettes/display_scatter_interactivity/display_scatter_interactivity.Rmd
Outdated
Show resolved
Hide resolved
59f68ef
to
a01fa2e
Compare
I've addressed all the review comments so far, let me know if any other changes are needed |
depthTest
value to ensure points are drawn in the correct order.display_scatter
widget.@earowang I've published the vignette in this PR here: https://casperhart.github.io/detourr/articles/display_scatter_interactivity/display_scatter_interactivity.html
I also haven't documented the
pdfsense
dataset yet or added any attribution. I'll look in to what's required for this tomorrow.