Wednesday, 15 October 2014

2D colour density plot (scatter plot)....

So for Jim Caunt's data, what I really want to do is to generate a 2D colour density plot.

To generate a 2D colour density plot, it requires three sets of values:

  1. X-axis
  2. Y-axis
  3. Colour density data. 
This is three columns in a data frame. 

Some interesting advice here: https://www.biostars.org/p/73193/

As a by the way, I noticed another way to make a new data frame:

DF2 <- data.frame(wells4$WC.488_Int, wells4$WC.546_Int, wells4$S.phase_cells_Nuc_cnt)

This creates a data.frame with the columns from the other data frame.
Useful to know!

I don't really have my head around ggplot yet. 
Arghh!

Some useful stuff here: http://www.statmethods.net/advgraphs/ggplot2.html

No comments:

Post a Comment