writeLibText: Save a library object in text format

View source: R/writeLibText.R

writeLibTextR Documentation

Save a library object in text format

Description

This function creates tab delimited text file with library information. The created file can be re-imported with the ImportLibrary function.

Usage

writeLibText(lib, file)

Arguments

lib

A tsLib object. A metabolite library.

file

A string naming the output file.

Author(s)

Alvaro Cuadros-Inostroza

See Also

tsLib, ImportLibrary

Examples

require(TargetSearchData)
# get the reference library file
lib.file  <- tsd_file_path("library.txt")

# Import the reference library
refLibrary <- ImportLibrary(lib.file)

# save it to a file
writeLibText(refLibrary, file="libraryCopy.txt")


acinostroza/TargetSearch documentation built on May 5, 2024, 10:14 a.m.