Sorry about that Jeff.
I have attached the data file to this email. Kind regards, Casey Wright Casey Wright BSc (Hons I)I PhD Candidate I The University of Queensland School of Medicine l Room 2, Level 1, Clinical Sciences Building, The Prince Charles Hospital, Rode Road, Chermside, QLD 4032 l ( +61 7 3139 4110 l M 0407150147I 7 +61 7 3139 4957l : cwri...@uq.edu.au <mailto:casey.wri...@uqconnect.edu.au> I 8 www.som.edu.au I From: Jeff Newmiller [via R] [mailto:ml-node+2546542-962042928-161...@n4.nabble.com] Sent: Monday, 20 September 2010 3:47 PM To: Casey Wright Subject: Re: Please help with this error - new to You don't appear to have read the posting guide... you have not provided any sample data. From the error it appears that you have some problem with your data or your handling of the data when you imported it. "[hidden email]" <[hidden email]> wrote: > >I am getting the following error in my script. I am very very new to R and >have obtained this script from another person. > > >#read file in (dummy data) >starburst.plot<-function(affy.fold, affy.FDR)(ifelse( ((affy.fold) >=0), >-1*log10(affy.FDR), 1*log10(affy.FDR))) >starburst.plot<-function(meth.fold, meth.FDR)(ifelse( ((meth.fold) >=0), >-1*log10(meth.FDR), 1*log10(affy.FDR))) > >At my next command, I get the following error: > >> g.ex.affy <- starburst.plot(data(,"affy.FOLD"), data(,"affy.FDR")) >Error in log(c("", "affy.FDR"), 10) : > Non-numeric argument to mathematical function >In addition: Warning messages: >1: In data(, "affy.FOLD") : data set '' not found > >Could somebody please help me figure out why this isnt' working. > >Thanks > >-- >View this message in context: http://r.789695.n4.nabble.com/Please-help-with-this-error-new-to-tp25465 17p2546517.html <http://r.789695.n4.nabble.com/Please-help-with-this-error-new-to-tp2546 517p2546517.html?by-user=t> >Sent from the R help mailing list archive at Nabble.com. > >______________________________________________ >[hidden email] mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. ------------------------------------------------------------------------ --- Jeff Newmiller The ..... ..... Go Live... DCN:<[hidden email]> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k ------------------------------------------------------------------------ --- Sent from my phone. Please excuse my brevity. ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ________________________________ View message @ http://r.789695.n4.nabble.com/Please-help-with-this-error-new-to-tp25465 17p2546542.html To unsubscribe from Please help with this error - new to, click here <http://r.789695.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_b y_code&node=2546517&code=Yy53cmlnaHRAdXEuZWR1LmF1fDI1NDY1MTd8NDA5NzM1NzU 4> . -- View this message in context: http://r.789695.n4.nabble.com/Please-help-with-this-error-new-to-tp2546517p2546560.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.