You should specify caption.placement
in print
call, not xtable
.
res.table<-xtable(myfamDF, caption = 'Paired t-test of most common TF families', display = c('f','s','e','e','e','d','f','f','f'), table.placement ="")print(res.table, scalebox=0.7, caption.placement = "top")