sampleName: Creates sample name.

Description Usage Arguments Value Note See Also

View source: R/sampleName-functions.R

Description

This function guesses the name of current spot from filename.

Usage

1
.sampleName(fidFile)

Arguments

fidFile

character, path to fid file (e.g. ‘Pankreas_HB_L_061019_A10/0_a19/1/1SLin/fid’)

Value

character, sample name: e.g ‘Pankreas_HB_L_061019_A10’

Note

WARNING: if the 4th upper directory hasn't an unique name you will get equal names for your spot list

e.g. the following will create a list with 4 elements but only 2 unique spot names (2-100kDa:0_A1 and 2-100kDa:0_B1)
./Run1/2-100kDa/0_A1/1/1SLin/fid
./Run1/2-100kDa/0_B1/1/1SLin/fid
./Run2/2-100kDa/0_A1/1/1SLin/fid
./Run2/2-100kDa/0_B1/1/1SLin/fid

See Also

.readAcquFile, readBrukerFlexFile


sgibb/readBrukerFlexData documentation built on May 26, 2017, 6:56 a.m.