Displaying 3 results from an estimated 3 matches for "log2ratio".
2011 Jul 07
2
Multiple line graphs
HI everyone, I'm just starting to get into graphing with R and I need to
generate one graph that illustrates the pattern of gene expression for
various patients. My data is in .csv format and is as follows and i'm
showing below a portion of the data.
Pt Coordinate Log2Ratio
1 34046382 -0.023639869
1 34141437 0.016456776
1 34232498 -0.027852121
1 34261900 -0.167065347
2 34364856 -0.182864057
2 34461485 -0.228341688
2 34952694 1.90875531
3 34174705 1.312169128
3 34247833 1.381729262
3 34320273 1.218914649
3 34390545 0.992551194
I can generate the multiple line graphs b...
2011 Jul 13
3
Colors in R
...#39;'m using now..
Any help is greatly appreciated..
Best
LT
data <- read.table("data.csv", header=T, sep=",", stringsAsFactors= F)
data$Pt <-as.numeric(data$Pt)
npts <- unique(data$Pt)
xrange = c(min(data$Coordinate), max(data$Coordinate))
yrange = c(min(data$Log2Ratio), max(data$Log2Ratio))
colors <-c("red","blue","green","darkmagenta","darkgreen","darkorange","darkred","gold","midnightblue","seagreen1","tomato","slateblue","violet&...
2007 Nov 29
2
How to manipulate a data frame
Dear list,
I have a data frame like:
> log2.ratios[1:3,1:4]
Clone a1 a2 a3
1 GS1-232B23 -0.0207500 0.17553833 0.21939333
2 RP11-82D16 -0.1896667 0.02645167 -0.03112333
3 RP11-62M23 -0.1761700 0.08214500 -0.04877000
how to make it to look like:
> log2.ratios[1:3,1:4]
a1 a2