search for: uncurated_example1

Displaying 1 result from an estimated 1 matches for "uncurated_example1".

2011 Jun 07
1
Creating a file with reusable functions accessible throughout a computational biology cancer project
...I've spent at least 40 hours copying code I've already written and pasting it into a new dataset. There has simply got to be a better way to do this. A common example of the code I'll write in an "uncurated" file is the following (let's call the following snippet of code UNCURATED_EXAMPLE1): ##characteristics_ch1.2 -> G tmp <- uncurated$characteristics_ch1.2 tmp <- sub("grade: ","",tmp,fixed=TRUE) tmp[tmp=="I"] <- "low" tmp[tmp=="II"] <- "low" tmp[tmp=="III"] <- "high" curated$G <- tm...