1 #combines gebvs of traits of a population
8 allArgs
<- commandArgs()
9 inFile
<- grep("gebv_files", allArgs
, value
= TRUE)
10 outputFile
<- grep("combined_gebvs", allArgs
, value
= TRUE)
11 inputFiles
<- scan(inFile
, what
= "character")
13 combinedGebvs
<- mergeVariables(inputFiles
)
15 if (length(outputFile
) != 0 ) {
16 write
.table(combinedGebvs
,
24 q(save
= "no", runLast
= FALSE)