Transforms a ratio/conf data set to a ggplot dataframe
ToDataFrame(dat)
dat
must be a list with two matrices ratio and conf
ratio
conf
a data frame