Parse wide format data into the standard layout. The input data frame must have columns specifying 'position', 'wt', and ER score ('score') for each amino acid (named 'A', 'C', ...). Usually called internally by parse_deep_scan but is exposed to help users get their input into the correct format.

parse_wide(x, ...)

Arguments

x

A data frame.

...

Ignored.

Value

A long format tibble with columns specifying each variants 'position', 'wt', 'mut' and 'score'.