also allow NULL as col or rownames arg