Monthly Archives: April 2010

Bhapkar V test

April 28, 2010
By

This is the code to perform the Bhapkar V test. I've rapidly wrote it, in 2 hours. The code is then quite brutal and it could be done better. As soon as possible, I will correct it.WARNING: it works *ONLY* with 3 groups, for now!bhapkar.test.3g sample for(i in 1:length(data1)){sample }obs for(i in 1:length(data1)){obs }rank cplets vec for(i in 1:length(data1])){vec...

Read more »

Bhapkar V test

April 28, 2010
By

This is the code to perform the Bhapkar V test. I've rapidly wrote it, in 2 hours. The code is then quite brutal and it could be done better. As soon as possible, I will correct it.WARNING: it works *ONLY* with 3 groups, for now!bhapkar.test.3g sample for(i in 1:length(data1)){sample }obs for(i in 1:length(data1)){obs }rank cplets vec for(i in 1:length(data1])){vec...

Read more »

Social Network Analysis using R and Gephis

April 28, 2010
By
Social Network Analysis using R and Gephis

After learning the basics of R, I decided to learn something harder last week. I picked Social Network Analysis (SNA) to learn the concepts of SNA and R. My primary interest in SNA is visual exploration of networks, so I needed to find a tool first.&n...

Read more »

Transitions in R redux

April 28, 2010
By

Previously, I shared with the world a function to create a pairwise matrix of the number of transitions and transversions between two DNA sequences. Klaus Schliep kindly pointed out the possibility of a bug in the function and offered a faster, more accurate version. Thanks Klaus!titv mat res for(i...

Read more »

Transitions in R redux

April 28, 2010
By

Previously, I shared with the world a function to create a pairwise matrix of the number of transitions and transversions between two DNA sequences. Klaus Schliep kindly pointed out the possibility of a bug in the function and offered a faster, more accurate version. Thanks Klaus! titv mat res for(i...

Read more »

Using R for Introductory Statistics, Chapters 1 and 2

April 27, 2010
By
Using R for Introductory Statistics, Chapters 1 and 2

I'm working my way through Using R for Introductory Statistics, by John Verzani, a free version of which is available as SimpleR. Chapter 1 ...covers basics of R such as arithmetic, loading libraries and reading data. We also get an introduction to v...

Read more »

How to do this graph using R

April 26, 2010
By
How to do this graph using R

I am showing three examples that will help an average R user to create beautiful graphs. The interesting (may be useful) parts of these examples are the use of some very smart but tricky functions to, for example, add a Greek symbol on a plot, add a title to a plot with some mathematical symbols. I am showing three...

Read more »

R Project and Google Summer of Code: Welcome to our students!

April 26, 2010
By

A few hours ago, I sent the following to both the R development list and the informal R / GSoC list: Date: Mon, 26 Apr 2010 15:27:29 -0500 To: R Development List CC: gsoc-r Subject: R and the Google Summer of Code 2010 -- Please welcome our new st...

Read more »

R Project and Google Summer of Code: Welcome to our students!

April 26, 2010
By

A few hours ago, I sent the following to both the R development list and the informal R / GSoC list: Date: Mon, 26 Apr 2010 15:27:29 -0500 To: R Development List CC: gsoc-r Subject: R and the Google Summer of Code 2010 -- Please welcome our new stud...

Read more »

R Project and Google Summer of Code: Welcome to our students!

April 26, 2010
By

A few hours ago, I sent the following to both the R development list and the informal R / GSoC list: Date: Mon, 26 Apr 2010 15:27:29 -0500 To: R Development List CC: gsoc-r Subject: R and the Google Summer of Code 2010 -- Please welcome our new st...

Read more »