xval
3
0
Entering edit mode
@mpg33drexeledu-1897
Last seen 10.3 years ago
I am attempting to use the xval function to run knnB on an exprSet object. The command line given by the help file doesnt seem to work. When I run lk1<- xval(smallG, 'ALL.AML', knnB, xvalMethod='LOO', group=as.integer(0)) I get the error Error in xval(smallG, "ALL.AML", knnB, xvalMethod = "LOO", group = as.integer(0)) : no direct or inherited method for function 'xval' for this call Any idea what the problem could be?
• 1.1k views
ADD COMMENT
0
Entering edit mode
rgentleman ★ 5.5k
@rgentleman-7725
Last seen 9.6 years ago
United States
not really, and 1) please read the posting guide so you know to give us enough information to answer 2) if you post anonymously, I at least will not answer your questions best wishes Robert mpg33 at drexel.edu wrote: > I am attempting to use the xval function to run knnB on an exprSet object. The command line given by the help file doesnt seem to work. When I run > lk1<- xval(smallG, 'ALL.AML', knnB, xvalMethod='LOO', group=as.integer(0)) > > I get the error Error in xval(smallG, "ALL.AML", knnB, xvalMethod = "LOO", group = as.integer(0)) : > no direct or inherited method for function 'xval' for this call > > Any idea what the problem could be? > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2-B876 PO Box 19024 Seattle, Washington 98109-1024 206-667-7700 rgentlem at fhcrc.org
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 3 months ago
EMBL European Molecular Biology Laborat…
Dear mpg33 Please can you provide a self-contained set of commands to that result in your error message, for others to reproduce it, and the output of sessionInfo(). It is also considered polite to sign with your name. Best wishes Wolfgang ------------------------------------------------------------------ Wolfgang Huber EBI/EMBL Cambridge UK http://www.ebi.ac.uk/huber mpg33 at drexel.edu wrote: > I am attempting to use the xval function to run knnB on an exprSet object. The command line given by the help file doesnt seem to work. When I run > lk1<- xval(smallG, 'ALL.AML', knnB, xvalMethod='LOO', group=as.integer(0)) > > I get the error Error in xval(smallG, "ALL.AML", knnB, xvalMethod = "LOO", group = as.integer(0)) : > no direct or inherited method for function 'xval' for this call > > Any idea what the problem could be? > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT
0
Entering edit mode
@stephen-henderson-71
Last seen 7.7 years ago
The code in the xval help file works for me. -------------------- >library(golubEsets) >data(golubMerge) >smallG <- golubMerge[200:250,] >lk1 <- xval(smallG, "ALL.AML", knnB, xvalMethod="LOO", group=as.integer(0)) > lk1 [1] "AML" "ALL" "AML" "AML" "ALL" "ALL" "AML" "AML" "ALL" "ALL" "ALL" "ALL" [13] "ALL" "ALL" "ALL" "ALL" "ALL" "AML" "AML" "ALL" "AML" "AML" "ALL" "AML" [25] "AML" "AML" "ALL" "AML" "AML" "AML" "ALL" "ALL" "ALL" "AML" "ALL" "AML" [37] "ALL" "ALL" "ALL" "ALL" "ALL" "ALL" "ALL" "AML" "ALL" "AML" "ALL" "ALL" [49] "ALL" "ALL" "ALL" "ALL" "ALL" "ALL" "ALL" "ALL" "ALL" "ALL" "ALL" "ALL" [61] "ALL" "ALL" "AML" "AML" "AML" "AML" "ALL" "ALL" "AML" "AML" "ALL" "ALL" > sessionInfo() Version 2.3.0 (2006-04-24) i386-pc-mingw32 attached base packages: [1] "tools" "methods" "stats" "graphics" "grDevices" "utils" [7] "datasets" "base" other attached packages: golubEsets MLInterfaces Biobase "1.0.1" "1.4.0" "1.10.0" ------------------------ so it maybe something peculiar to the way you have installed or loaded the 'MLInterfaces' package. Stephen Henderson Wolfson Inst. for Biomedical Research Cruciform Bldg., Gower Street University College London United Kingdom, WC1E 6BT +44 (0)207 679 6827 -----Original Message----- From: bioconductor-bounces@stat.math.ethz.ch [mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of mpg33 at drexel.edu Sent: 04 October 2006 16:34 To: bioconductor at stat.math.ethz.ch Subject: [BioC] xval I am attempting to use the xval function to run knnB on an exprSet object. The command line given by the help file doesnt seem to work. When I run lk1<- xval(smallG, 'ALL.AML', knnB, xvalMethod='LOO', group=as.integer(0)) I get the error Error in xval(smallG, "ALL.AML", knnB, xvalMethod = "LOO", group = as.integer(0)) : no direct or inherited method for function 'xval' for this call Any idea what the problem could be? _______________________________________________ Bioconductor mailing list Bioconductor at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/bioconductor Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor ********************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}
ADD COMMENT

Login before adding your answer.

Traffic: 533 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6