writeLibText: Save a library object in text format

Description Usage Arguments Author(s) See Also Examples

View source: R/writeLibText.R

Description

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

Usage

1

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

1
2
3
4
5
6
7
8
9
# 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")

TargetSearch documentation built on March 12, 2021, 2 a.m.