View source: R/data_manip_utils.R
cleanup_mcols | R Documentation |
Any mcols for which is_valueless()
returns TRUE will be removed.
cleanup_mcols(object, mcols_df = S4Vectors::mcols(object))
object |
The object whose mcols should be cleaned. |
mcols_df |
Instead of passing |
If object
was passed, it is returned with any valueless
mcols removed. If mcols_df
was passed and object
was not,
the data frame is returned directly.
Note that mcols_df
can only be passed by name. An unnamed
argument is always interpreted as object
.
S4Vectors::mcols()
, is_valueless()
#TODO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.