## Path to input targets file
targets <- system.file("extdata", "targets_chip.txt", package="systemPipeR")
## Write modified targets file with reference (e.g. input) sample
writeTargetsRef(infile=targets, outfile="~/targets_refsample.txt", silent=FALSE, overwrite=FALSE)
Run the code above in your browser using DataLab