-->
I went to my first R users group meeting in Minnesota and was treated to talks by two R heavy weights. First Hadley Wickham gave a talk about what he views as the most exciting and dynamic area of R development (interactive graphics) and this was followed by a short talk by Winston Chang showing what he has been doing to develop interactive graphics a part of the Shiny environment.  Below are some take home messages and a few links that I thought were particularly interesting.  

Hadley Wickham: First the slides for Hadley’s talk are on his github page.  Hadley started his talk off with a short demo showing how interactive graphics could allow you to learn about your data.  He has a clever dataset of 3d data points and these show no apparent pattern when viewed along any two axes.  However when viewed from the correct angle we discover that there is a very distinct spiral pattern in the data this provides a nice aha moment in his talk.  Next Hadley discussed the history of interactive graphics in R splitting them into 3 categories 1) those written in lower level languages, 2) those hacking existing R plotting functions, and 3) and browser based solutions.  Many of the packages that he showed are not very realistic for everyday use or for investing a lot of time since they are no longer being actively developed.

Perhaps the most interesting part of Hadley’s talk was his discussion and demonstration of ggvis this is Hadley’s package that he envisions eventually replacing ggplot2.  His goal is to continue to work on this and perhaps sometime in 2016 have it to the point that anything you could do in ggplot2 you can do in ggvis.  The upside of this is that if you are already comfortable with ggplot2 you will have no trouble transitioning into ggvis.  Hadley is using the same type of grammer based approach to building up more complex graphs from simpler elements.

Winston Chang gave a much shorter talk but illustrated some of the new interactive developments in Shiny.  Despite my use of Shiny I was actually completely unaware of this development.  Winston has added some nice examples on the Shiny articles page (bottom of right column).


Other interesting links from the evening:

Html widgets for R: allows you to use a variety of javascript visualization libraries within R

Hadley’s new book Advanced R
0

Add a comment

This semester I am teaching an experimental design course.  However, three of my learning goals for my students are more general than experimental design:

munge a big dataset into different formats use R to visualize their data and explore possible relationships create scripts in R that process data do statistical test and output final plots for manuscripts

I wanted to justify the importance of learning good coding, scripting, computational skills to my students so I decided to mine the Evoldir mailing list for the last month or so.  I first downloaded all of the adds for postdoc positions that were posted from December 1, 2017 to January 15, 2018.  There were a total of 86 adds.
2

A blog reader recently asked if the sliding window function could be extended to a matrix; This seemed like something that might be useful so I have provided this extension below. Furthermore, once I looked at the code I realized that I needed to add validation testing and helpful error messages. The version below has been uploaded to the GitHub version of the EvobiR package and can be loaded using devtools as described here.
8

The Publons blog recently posted an interesting graphic showing the connections among editors and peer reviewers for 28146 reviews.  As I started looking at the figures (which are great), I wanted to dig into the data.  The people at Publons were nice enough to share this data and amended it to their post.

The thing that I was particularly interested in was looking at differences among countries.

As part of a project with an undergrad this summer I am working on a theoretical study that involves simulations of many different tree topologies that include varying amounts and types of geneflow among lineages.   For a number of reasons that I won't go into here, we will be generating many hundreds of backbone trees in the R package diversitree that we will then add hybridization events to and simulate possible gene trees in ms.

I am working on a side project that involves downloading lots of sequence clusters from the phylota website.  This is a handy tool and makes it quick and easy to get lots of useful sequence data.  However, it also gives you all sequences in genbank for each species.  This means that you might have 500 sequences for a particular gene but only sequences from 10 or 20 different species.
1

For the past couple of years, there have been a small but growing group of people that have wanted to track their reading for a year.  For most of us, the idea is that this will push us to read more broadly and more consistently.  I tried to do this last year after seeing all the #365paper tweets at the beginning of 2016.  My decision was that I would write a paragraph summarizing each paper, and post these all under a single blog post.  Unfortunately, I just don't have the time to do that.
1

I have always intended this blog to serve as a place to chat about fun or interesting things related to my interests in Coleoptera, evolution, coding, and academia.  That being said I am deeply concerned by the discrimination and rejection of science and logic that is being normalized by our government.

I'll be giving a job talk in a month or so and I have been meaning to go through my standard slides and make sure that I am using color-blind friendly palettes.  For the last year or so everything that I do with R, I tend to do using the viridis package which I know is supposed to be fairly good.  However, for items that I make in powerpoint I often use the website ColorBrewer, and in the past, I may not have paid that much attention to this issue.

I am taking the opportunity to sit in Ruth Shaw's quantitative genetics class this semester.  I hope that I get to teach this class at some point in the future and I thought it would be great to see how a pro like Ruth teaches this class.  Listening to her lecture and show slides today though inspired me to make a little app that I would like my future students to have.

First, if you need a quick refresher on what the ABBA/BABA test is you can check out this post: ABBA/BABA

Perhaps one of the simplest tests for introgression is the ABBA/BABA test.  I have a couple of versions of this test implemented in my R package EvobiR.  The most frequent email that I have gotten concerning ABBA/BABA tests is from people that want support for ambiguity codes.  Ambiguity codes have two very different sources.
Great Blogs
Great Blogs
About Me
About Me
My Photo
I am broadly interested in the application and development of comparative methods to better understand genome evolution at all scales from nucleotides to chromosomes.
Subscribe
Subscribe
Loading
Dynamic Views theme. Powered by Blogger. Report Abuse.