given an odour response matrix with columns for different odours and rows for different sweep timepoints, reorder columns in desired order adding NAs for missing odours

addnacols(mat, odours)

Arguments

mat

odour response matrix where odours are coloumns and cells are rows

odours

character vector of odour names

Value

gives back a tidyied up matrix with coloumns aorderd by odours adding NAs for missing odour response data