parse_arg function

Parse arguments from xpose to ggplot2 format