## complete dataset
temp <- pcrbatch(reps)
## first 4 runs
temp <- pcrbatch(reps, 2:4)
## first 8 runs, with 4 replicates each
temp <- pcrbatch(reps, 2:9, c(1,1,1,1,2,2,2,2))
## using model selection on the first 4 runs, run 1+2 are replicates
temp <- pcrbatch(reps, 2:5, c(1,1,2,3), opt = TRUE)
Run the code above in your browser using DataLab