sampleName: Creates sample name.

.sampleNameR Documentation

Creates sample name.

Description

This function guesses the name of current spot from filename.

Usage

.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


readBrukerFlexData documentation built on Oct. 3, 2024, 1:06 a.m.