Parses a file that satisfies the Barcode Search format

parse_barcode_search_file(filepath, expand_path = FALSE)

Arguments

filepath

path to file

expand_path

logical whether or not to expand a path from '~' to the fully qualified name

Value

a list containing a vector of barcode entries, the original fields of the data, and the index of the barcode column

Details

A csv file satisfies the Barcode Search format if it contains a column called "Barcode". This is useful for converting data where the barcode is known into fully expanded sample information.