search for: glchen

Displaying 15 results from an estimated 15 matches for "glchen".

2009 May 29
2
Drawing schematics
Hi, I would like to represent the treatment course of a subject with an arrow representing passage through time and various ticks, arrows, or bars representing treatments done to the patient along the arrow. I would like to generate this sort of schematic for each patient in a database taking information from the database such as time of treatment and type of treatment. Does anybody know how I
2010 Jan 20
2
How do I juxtapose two lattice graphs with common X axes such that the X axes line up?
Hello, I would like to juxtapose two lattice graphs with common X axes such that the X axes line up. I am using plot right now but the edges are not neat and it would be nice if I could just draw 1 X axis and not both of them. Here is my code: upper<-bwplot(SignalUsed~as.factor(AllNormalHitsNamesCount),data=NmlOverviewArray2, xlab="", ylab="Intensity of Individual
2009 Jan 04
1
How do I find the index for a value in an array
Hello, Could anybody tell me how to find the index for a value which I define in an array? ie. c<-matrix(1:9,1,9) #A 1x9 matrix filled with numbers 1 - 9 in order I want to know the index for the value 5. Thanks in advance, George Chen
2009 Feb 05
1
question about running multiple R windows
Hello, I use R on a Microsoft Windows machine. Is it possible for me to open multiple windows of R, have them run the same program but for different data sets, and get accurate results? It takes 8+ hours to run the program so I want to multitask as much as possible. Thanks in advance, George Chen
2009 May 07
1
making an Affybatch object for expresso
Hi All, I have microarray data that does not come in a CEL file. Currently it is in the form of columns = individual samples and rows = individual probes. There are about 79 columns and it is in a tab delimited text file. Is there a way to convert this file into an AffyBatch so that I can run expresso with it? Thanks, George
2009 Apr 10
2
Two different scales for the same axis in the same plot.
Hello, Could anyone tell me how to plot data on two different scales in the same axis in the same plot? Here is my quandary: The range of my X axis runs from 0 to 10, but the majority of my meaningful data lies between 7 and 10. The data from 0 to 7 is essentially noise. Is there a way for me to present my data such that the range from 0 to 7 takes up a smaller amount of space on the graph
2009 May 08
1
problem with normalize.quantiles
Hi All, I am using normalize.quantiles (package preprocessCore) to process a 8300 row x 96 col matrix, all numerical data. When I limit the input matrix to 8300 x 67, the function works fine and my data is normalized. But when I increase the input matrix size to 8300 x 68, the function processes but instead of giving normalized data, it gives me all the same number. With 96 columns (the whole
2010 May 09
1
Is it possible to rearrange the facets in ggplot while keeping everything else the same?
Hello, First, ggplot2 is great! Second, sorry for the basic nature of my question. I have data in the form of a melt table like this: Subject Day Ab Variable Value 1 1 Yes A 3 1 3 Yes A 5 1 5 Yes A 7 2 1 No A 2 2 3 No A 4 2 5 No A 6 3 1 Yes A 1 3 3 Yes A 3 3 5 Yes A 5 4 1 No A 4 4 3 No A 6 4 5 No A 8 1 1 Yes B 3 1 3 Yes B 5 1 5 Yes B 7 2 1 No B 2 2 3 No B 4 2 5 No B 6 3 1 Yes B 1 3 3 Yes B 3 3 5
2010 May 06
1
How do I plot geoms in parallel in ggplot
Hello, I am new to ggplot. Please forgive my ignorance! I have patient data such that each individual is a row and then the attributes are in columns. So for example: Subj Time Height Weight WBC Plt 1 1 9 4 4 150 1 2 10 5 6 200 1 3 11 6 5 250 1 4
2010 Aug 08
3
Does anybody know how to control the appearance of the end of the line in lattice?
Hi All, I am plotting vertical lines using xyplot in lattice and type="h". It works well, but the problem is that the tops of the lines are convex and the bottoms are concave. Is there a way to flatten the tops and bottoms? Here's my code: Source<-matrix(1:30,10,3) colnames(Source)<-c("x","y1","y2") Source<-data.frame(Source) xyplot(y2+y1~x,
2009 Jun 01
0
kohonen SOM
Hi All, I am experimenting with using binary data (1, 0) in the kohonen package. I would like either 1 or 0 to be mapped in SOM, but the package gives me 1 or 0 (as expected), but something in between. I am not scaling the binary data, but still there are in-between values. Can anybody suggest a way to keep the data binary, even in the SOM plot? Thanks a lot. George
2009 Feb 07
1
Question about plotting data points in box plots
Hello, I am plotting my data as side by side box plots. Could somebody tell me how I can plot the points from which the box plots are derived inside the box plots? I imagine some use of the plot(x,y) function with x = the data and y = location of box plot, but how do I distribute the points about the vertical rather than have them show up all on one vertical axis? Thanks in advance, George
2010 Feb 23
1
How to change a venn command into a named object that can be plotted like a lattice object
Hello, I am plotting data as a venn diagram but would like to be able to control how it is plotted like a lattice object. Right now, it plots right away. I would like to name it and then plot at will. I thought to convert the whole thing to a PostScript file then get it back into R via grImport, but surely (please!) there must be a less roundabout way to do this. Any help is appreciated. Here
2008 Dec 31
1
How do I plot multiple XY plots on the same graph
Hello, I have multiple data sets I would like to plot on the same XY scatterplot. The data sets have in common the same Y values. Could somebody tell me how to do this? I tried par(T=new) (I think this was it) but it literally overlays plots on each other. Thanks in advance. George
2009 May 05
1
self organizing map advice for categorical data
Hello, Could anybody offer any advice about implementing a Kohonen self organizing map for categorical data? Specifically I am wondering if there are any pre-existent packages that can deal with categorical data and/or how one would compare the input vector of categoricals with the self organizing map nodes. Thanks in advance. George Chen ----- Original Message ----- From: r-help-request at