[R] interactive labeling/highlighting on multiple xy scatter plots

Shi, Tao shidaxia at yahoo.com
Wed Aug 6 23:41:58 CEST 2014


Just saw this from the Rstudio webinar too.  Will explore it more.  Thanks!

Tao



On Thursday, July 31, 2014 11:11 AM, Greg Snow <538280 at gmail.com> wrote:



The brushing may only be available in the development version of
ggvis.  See here for the example:
https://github.com/rstudio/webinars/tree/master/2014-01


On Thu, Jul 31, 2014 at 10:17 AM, Shi, Tao <shidaxia at yahoo.com> wrote:
> I looked at ggvis briefly before, but didn't notice its brushing capability.  Now you explained.
>
> Thanks, both!
>
> Tao
>
>
>
>
> On Wednesday, July 30, 2014 9:50 AM, Ramnath Vaidyanathan <ramnath.vaidyanathan at mcgill.ca> wrote:
>
>
>
> ggvis is an excellent option to do this kind of stuff.
>
> The only limitation currently is that all sorts of interactivity (tooltips, brushing etc.) are done on the server side using Shiny. So you have to upload your HTML to a shiny server for the interactivity to work.
>
> Best,
> Ramnath
>
>
>
> ______________________________________
> Ramnath Vaidyanathan
> Assistant Professor of Operations Management
> Desautels Faculty of Management
> 1001 Sherbrooke Street West
> Montreal, QC H3A 1G5
> Ph: +1 (514) 398-1457
> ______________________________________
>
>
> On Wed, Jul 30, 2014 at 12:45 PM, Greg Snow <538280 at gmail.com> wrote:
>
> Another option that is in developement, but may do what you want is
>>ggvis (http://ggvis.rstudio.com/).  I have seen an example of brushing
>>created with ggvis that can then be embedded in a web page.  I am not
>>sure if you can send the html and support files directly to someone
>>without R (probably Rstudio) or if you need to upload it to a server
>>for others to see, but the later is still an option for collaborators
>>who do not have R installed.
>>
>>
>>On Tue, Jul 29, 2014 at 2:13 PM, Shi, Tao <shidaxia at yahoo.com> wrote:
>>> Thank you very much, Greg and Ramnath, for the pointers!  I'll explore more.
>>>
>>>
>>>
>>>
>>> On Tuesday, July 29, 2014 8:10 AM, Ramnath Vaidyanathan <ramnath.vaidyanathan at mcgill.ca> wrote:
>>>
>>>
>>>
>>> There are plugins for rCharts that help you create custom charts.
>>>
>>> Here is a scatterplot matrix example
>>>
>>> http://mostlyconjecture.com/2014/02/09/scatterplot-matrix-with-rcharts/
>>>
>>>
>>> It doesn't support brushing, but I think it won't be hard adding that behavior if you contact its author.
>>>
>>> Hope this helps.
>>>
>>> Best,
>>> Ramnath
>>>
>>>
>>>
>>> ______________________________________
>>> Ramnath Vaidyanathan
>>> Assistant Professor of Operations Management
>>> Desautels Faculty of Management
>>> 1001 Sherbrooke Street West
>>> Montreal, QC H3A 1G5
>>> Ph: +1 (514) 398-1457
>>> ______________________________________
>>>
>>>
>>> On Tue, Jul 29, 2014 at 11:01 AM, Greg Snow <538280 at gmail.com> wrote:
>>>
>>> There is the TkBrush function in the TeachingDemos package that gives
>>>>brushing in a scatterplot matrix using a Tk interface rather than
>>>>ggobi.  There is also the iplots package which allows you to create
>>>>multiple scatterplots, histograms, boxplots, barcharts, etc. and
>>>>points selected in any one of the plots will then be highlighted in
>>>>all the others.  Both of those solutions require R to be installed.
>>>>
>>>>I don't know of any way to get what you want without installing at
>>>>least one of ggobi or R (or some other program of similar complexity
>>>>to install).
>>>>
>>>>On Mon, Jul 28, 2014 at 6:48 PM, Shi, Tao <shidaxia at yahoo.com> wrote:
>>>>> hi list,
>>>>>
>>>>> I'm comparing the changes of ~100 analytes in multiple treatment conditions.  I plotted them in several different xy scattter plots.  It would be nice if I mouse over one point on one scatter plot, the label of the analyte on that scatter plot AS WELL AS on all other scatter plots will be automatically shown.  I know brushing in rggobi does this, but its interface is not good and it needs R or ggobi to run (I want send the results to the collaborators and let them to play with it without the need of installing R or ggobi on their machine).  rCharts is nice but so far it can only create one scatter plot at a time.
>>>>>
>>>>> Any good suggestions?
>>>>>
>>>>> Many thanks!
>>>>>
>>>>> Tao
>>>>>
>>>>> ______________________________________________
>>>>> R-help at r-project.org mailing list
>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>
>>>>
>>>>
>>>>--
>>>>Gregory (Greg) L. Snow Ph.D.

>>>>538280 at gmail.com
>>>>
>>
>>
>>
>>--
>>Gregory (Greg) L. Snow Ph.D.
>>538280 at gmail.com
>>



-- 
Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com



More information about the R-help mailing list