Re: [R] NA as a result of using GLM

2009-06-15 Thread Paul Christoph Schröder
gt; On Jun 15, 2009, at 5:54 AM, Paul Christoph Schröder wrote: > >> Hi all! >> Maybe someone could help me with the following. I know this hasn't >> directly to do with ecology but I'm also using glm. >> >> I have a list of 16 genes and 10 samples. The

[R] NA as a result of using GLM

2009-06-15 Thread Paul Christoph Schröder
Hi all! Maybe someone could help me with the following. I know this hasn't directly to do with ecology but I'm also using glm. I have a list of 16 genes and 10 samples. The samples are of two types, 4 Ctrl and 6 Diseased. If, labelInd<-as.factor(c(rep("0",4),rep("1",6))) genes.glm<-glm(labelIn

[R] Problem Using the %in% command

2008-02-20 Thread Paul Christoph Schröder
Hello all! I have the following problem with the %in% command: 1) I have a data frame that consists of functions (rows) and genes (columns). The whole has been loaded with the "read.delim" command because of gene-duplications between the different rows. 2) Now, there is another data frame that

[R] Find duplicates and save their max value

2007-10-25 Thread Paul Christoph Schröder
Hi, maybe someone can help me with this: I have a matrix of genes and values: GeneName Value Abc1 10 Abc2 11 Bbc1-5 Bbc31 2 Ccd 5 Ccd -2 Ccd 7 Dda 5 Dd