Write.Results {TargetSearch} | R Documentation

## Save TargetSearch result objects into files

### Description

This is a convenient function to save the TargetSearch result into text files.

### Usage

    Write.Results(Lib, metabProfile, quantMatrix=c('maxint','maxobs','none'),
    	prefix = NA)

### Arguments

`Lib` | A `tsLib` object.
`metabProfile` | A `tsProfile` object. The final result of the package. This object is generated by either `Profile` or `ProfileCleanUp`.
`quantMatrix` | Should an intensity matrix using quantification masses be created? This parameter will be passed to `quantMatrix` and indicates whether the quantification mass should be chosen based on intensity or observations. The file will have the extension '.profile.quantmatrix.txt'. If `none`, then the file is not created.
`prefix` | A character string. This is used as a name prefix for the written files. `"TargetSearch-"` is used by default.

### Value

This function doesn't return anything. Just print a message with the saved files.

### Author(s)

Alvaro Cuadros-Inostroza, Matthew Hannah, Henning Redestig

### See Also

`peakFind`, `Profile`, `ProfileCleanUp`, `tsLib`, `tsMSdata`, `tsProfile`, `quantMatrix`

[Package TargetSearch version 1.43.3 Index]