Entering edit mode
6.9 years ago
anu014
▴
190
Hi all,
Can anyone tell me how to use 'try' command for a block of commands? Right now I'm using try for each command like this :
try(m<-MAplot(genes(cuff),args[1],args[2]))
try(png('MA_plot.png'))
try(m)
try(dev.off ())
try(print("MA_plot"))
Please help. Thanks :)
Maybe this helps: http://mazamascience.com/WorkingWithData/?p=929
However, I would post this on Stack Overflow, this sounds much more like a general IT question than a bioinformatics one.
Yeah. That's true. Have to take care next time.. Thanks for answering anyways :)