Thursday, 21 May 2015

More about Venn Diagrams...


Package ‘VennDiagram’
     This will draw a Venn Diagram if you know the numbers you want to put into each part of the diagram. It makes nice Venn Diagrams.

Venn Diagrams with the Package 'gplots'
    This will calculate a Venn Diagram from lists. For a simple two list comparison, it's not really necessary.

These functions for comparing lists are sufficient:
  • intersect()  
  • setdiff(listMCP, listJPR) # in 1st list NOT 2nd
  • unique(c(listMCP,listJPR)) # combined list of both



Plotting maps in R

I found these useful blog posts that contain some interesting data:

Blank maps:


Adding data:

Third article here:

Tuesday, 5 May 2015

Setting up R for Biochemists on Github.

Step 1: Log into github - not necessary!
Step 2: set up a repository – called R for Biochemists.
Mistake – should have set it up through Github on Mac

Step 3: put all the published scripts into a folder – where?
            Currently on Dropbox
            Github doesn’t like this.
            Move to hard-drive.
 Step 4 - delete the repository I set up in Step 2 - Duh :-(

Use Github for Mac to do it all. 

Create repository in Github for Mac
Identify folder in Github for Mac and sync.

This works differently to Aptana but I think it’s OK for now.