[BioC] test class label

Martin Morgan mtmorgan at fhcrc.org
Sat Dec 18 16:35:27 CET 2010


On 12/18/2010 12:44 AM, Peevi Ijkl wrote:
> Hi 
> I wanted to know if there is an alternative code for creating class labels for 
> multtest?
> I used 
> cl <- as.numeric(pd$Diabetic == "y" ) ...my phenodata has diabetic and non 
> diabetic data ...but this code isnt working..could some help please

Hi peevi -- provide a minimal self-contained example, e.g., show how you
load the relevant library

  library(????)

make up some small test data

  lbl = pd$Diabetic
  m = matrix(rnunif(10 * length(lbl)), nrow=10)

show the data

  str(lbl)

and the error that's produced

  ????(???)

We don't know what function you're trying to use, or even what package
it's in, and we don't know what you mean by "isn't working".

Martin

> 
> thanks
> peevi
> 
> 
> 
>       
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor


-- 
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793



More information about the Bioconductor mailing list