Displaying 1 result from an estimated 1 matches for "pedigreefil".
Did you mean:
pedigreefile
2009 Jun 18
1
Calling library functions from outside R
...ow 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"
example_client.R
What I&...