Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sampleName

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


readBrukerFlexData

Reads Mass Spectrometry Data in Bruker *flex Format

v1.8.5
GPL (>= 3)
Authors
Sebastian Gibb [aut, cre]
Initial release
2017-04-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.