Comments (4)
Great idea - this is actually exactly how I had envisioned "implementing" such a feature - just waiting for someone to need it :). I'll relax the regex checking on group
to allow /
(first thing Monday) and once that is done, you can go ahead and start using /
in your group
specifications - of course it won't mean anything until I update the UI to deal with it, but once I do you won't have to make any changes.
I'll have to think about the best way to update the UI. A collapsible interface could get tedious for deep hierarchies. Also, what is uncollapsed by default, etc.
from trelliscope.
That sounds great. I'll be able to define the group organization.
Your point about tediousness is good. One thing to note is that the last level of my hierarchies tend to be displays based on different parameter values (quantiles in my case). In shiny, I would have handled this with a slider. In the current version of trelliscope the display window I have each as a different display. I'm not sure what's the most effective.
from trelliscope.
I've committed this change.
For what you are doing, if you are making a plot against the same data set but with different quantile parameters, and each display is a single panel, you probably want to think about creating a single multi-panel display across all quantile parameters. What you would do is basically create a ddo whose values are the quantile parameters, then make your panel function use this value to make the plot with the desired quantile setting.
For example, suppose you want quantiles from min to max in increments of 0.05 - then one way to do it is:
quantileParams <- ddo(lapply(0:20, function(x) list(x, x/20)))
panelFn <- function(q) {
# plot function that uses the quantile value q
# ...
}
cogFn <- function(q) {
list(quantile = cog(q))
}
makeDisplay(quantileParams, panelFn = panelFn, cogFn = cogFn)
quantileParams
is a ddo of key-value pairs, the keys are 0, ..., 20, the values are 0, 0.05, etc.
Now you have a single display with a cognostic called "quantile" and you can sort or filter your panels by this value.
from trelliscope.
OK, thanks this is helpful.
from trelliscope.
Related Issues (20)
- makeDisplay efficiently with Hadoop HOT 4
- Error in multi column sorting in cognostics
- What would cause a panel function to be called for every kv in ddo per a panel? HOT 3
- What do you think I need to install? HOT 4
- Do you think Trelliscope could play nice with dygraphs HOT 9
- Putting common globals on a diet (pull request) HOT 4
- Small bug fix: copyViewerFiles had inconsistent overwrite defaults. HOT 3
- Ability to apply CSS to panel labels HOT 2
- Ability to manipulate panel side bar HOT 4
- Trelliscope on ports other than 8100 HOT 2
- highcharts HOT 2
- Actual tutorial results slightly different than shown
- Actual tutorial results slightly different than shown HOT 1
- X11 fonts issue when "making the display" HOT 1
- Trelliscope viewing requires write permission HOT 2
- A cognostic that is entirely NA causes a cryptic error message.
- fix examples in cogScagnostics HOT 1
- Compatibility with foreach / dopar HOT 4
- convert.R error !is.nan(skw) && skw > 1.5 && all(x >= 0, na.rm = TRUE) HOT 2
- R session crash associated with graphic device in `makePNG()` called from within `makeDisplay()`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trelliscope.