Entering edit mode
Quite often I use a DataFrame objects as columns in other DataFrame object.
The inbuilt showAsCell generic does not natively support this - would it be possible to include
such a function into one of the next releases of the s4vectors package?
I use the following method:
setMethod("showAsCell",signature("DataFrame"), function(object){ cnams = paste(colnames(object),collapse=':') if(nchar(cnams) > 10) cnams = paste0(substring(cnams, 1,10),'...') rep(cnams, nrow(object)) })
Best regards,
Vedran