| writeLibText {TargetSearch} | R Documentation |
This function creates tab delimited text file with library information.
The created file can be re-imported with the ImportLibrary
function.
writeLibText(lib, file)
lib |
A |
file |
A string naming the output file. |
Alvaro Cuadros-Inostroza
# get the reference library file
cdfpath <- file.path(find.package("TargetSearchData"), "gc-ms-data")
lib.file <- file.path(cdfpath, "library.txt")
# Import the reference library
refLibrary <- ImportLibrary(lib.file)
# save it to a file
writeLibText(refLibrary, file="libraryCopy.txt")