[BioC] problems with multtest

Stephen Henderson s.henderson at ucl.ac.uk
Tue Feb 24 15:10:05 MET 2004


Its a typo Try (6:12) instead of (6-12) 
e.g.

> t <- mt.teststat(data[,6:12], c(0,0,0,1,1,1,1), test="t")

-----Original Message-----
From: michael watson (IAH-C)
To: bioconductor at stat.math.ethz.ch
Sent: 24/02/04 13:32
Subject: [BioC] problems with multtest

Hi

I am having problems with multtest and it is really annoying because I
know I am being stupid!

I read a tab-delimited text file in using read.table, into a variable
called "data".

data has 12 columns, 1-5 being annotation and 6-12 (7 columns) being
actual data.

When I try:

> t <- mt.teststat(data[,6-12], c(0,0,0,1,1,1,1), test="t")

I get errors:

Error in mt.checkX(X, classlabel, test) : the number of column of X
needs to be the same as the lengtho of classlabel
 your X= 1 
 your classlabel is 0 

I just know I am being ridiculously stupid and it's probably that I
don't remember how to use R properly, but can someone tell me how to use
mt.teststat with data read in from a text file using read.table?

Thanks
Mick

_______________________________________________
Bioconductor mailing list
Bioconductor at stat.math.ethz.ch
https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor


**********************************************************************
This email and any files transmitted with it are confidentia...{{dropped}}



More information about the Bioconductor mailing list