Thank you very much for your help and time.
That works very nicelyThanks again!
- Original Message -
From: John Kane
To: David Lyon ; r-help
Cc:
Sent: Wednesday, May 15, 2013 9:36 AM
Subject: Re: [R] Help me please: gplot, facets_wrap and ordering of x axis
dates
My
Thanks John for your reply.
I did include the data if you scroll down to the end of my original email.
Can someone help me on this?
Thanks
- Original Message -
From: John Kane
To: David Lyon ; r-help
Cc:
Sent: Tuesday, May 14, 2013 4:11 PM
Subject: RE: [R] Help me please: gplot
I have a text file of data as below and doing a ggplot line plot of all the ids
as separate mini line plots which works with the following code.
Problem how do I order the dates for each id plot on the x axis so that the
dates are going from oldest to most recent
Thanks in advance
Dave
I have a matrix of p values below. Column1 are the analytes and the other
columns are p values comparing time points.
How do I convert this table of pvalues into adjust p values for FDR/BH
This is wrong does anyone know how to fix this code
a<-read.table("file", header=T, sep"\t")
b<-as.numeric
I have many files in 1 directory, file names end in .txt.
Each file has 2 columns
col1 col2
2 3
3 4
4 5
5 6
I want to make a list of the file names and iterate through each plotting them
in a separate file $filename\.png with the png swapped for txt.
So far I have this, can someone help
library(ggplot2)
a<- read.table("data", header=T)
b = na.omit(a)
ggplot(data=b) + geom_line(aes(x=timepoint, y=value,group=sample, colour=
factor(sample))) + geom_point(aes(x=timepoint, y=value, group=s
ample)) + facet_wrap(~bio, scales = "free",ncol = 5) +theme_bw() +
opts(legend.direction = "h
Can someone show me some code to do normalization by the median of some control
genes for the example below?
Many Many Thanks in advance
This strategy selects a subset of genes (called “control genes”) and makes the
median of their data distribution similar across arrays.
id1 id2
Please help:
I am using qplot as below and want to specify a different color scheme for race
but dont know how, can someone show me.
Thanks in advance
Code and input file below:
library(ggplot2)
library(gridExtra)
d<-read.table("results", header=TRUE, fill=TRUE)
plot2<-qplot(X,Y,data=d
Thank you so much!
- Original Message -
From: Pascal Oettli
To: David Lyon
Cc: "r-help@r-project.org"
Sent: Tuesday, April 17, 2012 11:31 AM
Subject: Re : [R] image.plot specify colors for range of data points, please
help
Hi,
> image.plot(x, breaks=c(-100,-1,1,100),
Hi
If I had a dataset of the following below and I want to plot colors for this
image.plot so that:
red for data above 1
black for data between/equal 1 and -1
green for data below -1
normally its:
image.plot(data) but how do I add the colors for the range of data points as
above?
Many thanks
Sorry that didnt work for me, any ideas?
- Original Message -
From: ilai
To: David Lyon
Cc: "r-help@r-project.org"
Sent: Tuesday, April 3, 2012 10:43 PM
Subject: Re: [R] image.plot adding x-axis labels. Please Help
On Tue, Apr 3, 2012 at 7:25 PM, David Lyon wrote:
> if
if I had a data file like this:
1.42 1.29 -0.13
1.46 1.34 -0.12
1.45 1.32 -0.13
1.36 1.26 -0.10
1.33 1.29 -0.04
I want to create a image plot like this:
data1<-read.table("A")
image.plot(t(data1), axes=FALSE, xlab=NA, ylab=NA)
I cant get the labels for the x axis right can some kind person help
HI everyone
Does anayone know how to add group labels to dot charts
>From the R code below
a<-read.table("test2", sep="\t", header=TRUE)
dotchart(as.matrix(t()), main="test")
it generates from the datafile input below,
file test2 containing:
A B C D E
1 1
; From: David Winsemius
> Subject: Re: [R] Please help..barplot2
> To: "David Lyon"
> Cc: r-help@r-project.org
> Date: Thursday, December 2, 2010, 10:57 AM
>
> On Dec 2, 2010, at 10:36 AM, David Lyon wrote:
>
> > Hi everyone
> >
> > I spent
Hi everyone
I spent hours trying to figure this out but as a newbie I am stuck...
can someone show me the R code for the following:
If I had a tab delimited file called "file", containing 3 rows :
9.568.679.288.817.939.858.9210.19 8.63
6.367.296.687.
15 matches
Mail list logo