"dimnames"(x)
"dimnames"(x) <- valueDGEList, DGEExact, DGEGLM, DGELRT or TopTagsdimnames(x), see dimnamesNULL or a list of length 2.
If a list, its components are either NULL or a character vector the length of the appropriate dimension of x.
Setting dimension names is currently only permitted for DGEList or DGEGLM objects.
A consequence is that rownames and colnames will work as expected.
dimnames in the base package.