getFileNames {ptairMS} | R Documentation

## get the file names containing in the directory of a ptrSet or ptrRaw

### Description

get the file names containing in the directory of a ptrSet or ptrRaw

get the file names containing in the directory of a ptrSet

### Usage

    getFileNames(object, fullNames = FALSE)

    ## S4 method for signature 'ptrSet'
    getFileNames(object, fullNames = FALSE)

    ## S4 method for signature 'ptrRaw'
    getFileNames(object, fullNames = FALSE)

### Arguments

`object` | ptrSet object
`fullNames` | logical: if `TRUE`, it return the the directory path is prepended to the file names.

### Value

a vector of character that contains all file names

### Examples

    library(ptairData)
    dirRaw <- system.file("extdata/exhaledAir", package = "ptairData")
    exhaledPtrset <- createPtrSet(dir=dirRaw, setName="exhaledPtrset",
    mzCalibRef = c(21.022, 60.0525), fracMaxTIC = 0.7, saveDir = NULL )
    getFileNames(exhaledPtrset )

[Package ptairMS version 1.0.1 Index]