Learn R Programming

PTXQC (version 0.92.6)

MQDataReader$readMappingFile: Reads a mapping table of full Raw file names to shortened names.

Description

The internal structure raw_file_mapping is created using this file. If the file is missing, nothing is done.

Arguments

filename

Source filename to read.

Value

Returns TRUE if file was read, FALSE if it does not exist.

Details

The file must have two columns named: 'orig.Name' and 'new.Name' and use Tab as separator. I.e.

# This file can be used to manually substitute Raw file names within the report.
# The ordering of Raw files in the report can be changed by re-arranging the rows.
orig.Name  new.Name
2011_05_30_ALH_OT_21_VIL_TMT_FR01   myfile A
2011_05_30_ALH_OT_22_VIL_TMT_FR02   another B