Skip to content

Warning about dim, nrow and ncol deprecated methods. #74

Description

@charles-plessy

In the CAGEr package I use a SummarizedExperiment object to store DataFrames of Rle-encoded expression values. Updating the objects give warnings such as The dim() method for DataFrameList objects is deprecated. Please use dims() on these objects instead. Here is a minimal reproducible example.

> se <- SummarizedExperiment(assays=list(DataFrame()))
> assays(se)$foo <- DataFrame()
Warning messages:
1: The dim() method for DataFrameList objects is deprecated. Please use dims() on these objects instead. 
2: The nrow() method for DataFrameList objects is deprecated. Please use nrows() on these objects instead. 
3: The ncol() method for DataFrameList objects is deprecated. Please use ncols() on these objects instead. 
4: The dim() method for DataFrameList objects is deprecated. Please use dims() on these objects instead. 
5: The nrow() method for DataFrameList objects is deprecated. Please use nrows() on these objects instead. 
6: The ncol() method for DataFrameList objects is deprecated. Please use ncols() on these objects instead. 

You can also see the warnings in the CAGEr vignette.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions