Displaying 1 result from an estimated 1 matches for "broadgap".
Did you mean:
bloadmap
2009 Jun 18
1
Calling library functions from outside R
...rgs function below uses commandArgs(),
and searches the vector for the keys/values to make life easier.
(code available at inside "birdsuite executables" at http://www.broad.mit.edu/science/programs/medical-and-population-genetics/birdsuite/birdsuite-downloads-0)
Example:
---
library (broadgap.utils)
pedigreeFile<-commandLineArg("pedigreeFile", verbose=T)
outPedigreeFile<-commandLineArg("outPedigreeFile", verbose=T)
relabelPedigree(pedigreeFile, outPedigreeFile)
---
called by:
R CMD BATCH --pedigreeFile="foo" --outPedigreeFile="bar"
exampl...