Skip to content

Compatibiliy with R4.0.0 #16

@mflamand

Description

@mflamand

Hello, I tried to repackage xtail v1.1.5 under the newly released R4.0.0 (windows10)
Unfortunately I running the main function xtails fails as such:

data("xtaildata")
mrna<-xtaildata$mrna
rpf` <- xtaildata$rpf
condition = c("control", "control", "treat", "treat")
test.results<- xtail(mrna, rpf, condition, bins=1000)

Error in assays<-(*tmp*, value = new("SimpleList", listData = list( : please use 'assay(x, withDimnames=FALSE)) <- value' or 'assays(x, withDimnames=FALSE)) <- value' when the dimnames on the supplied assay(s) are not identical to the dimnames on DESeqDataSet object 'x'

  1. stop(wmsg("please use 'assay(x, withDimnames=FALSE)) <- value' ", "or 'assays(x, withDimnames=FALSE)) <- value' when the ", what, " on the supplied assay(s) are not identical to ", "the ", what, " on ", class(x), " object 'x'"))
  1. assays<-(*tmp*, value = new("SimpleList", listData = list( counts = structure(c(825L, 1054L, 71L, 191L, 81L, 756L, 947L, 1158L, 152L, 746L, 1154L, 201L, 1337L, 1246L, 61L, 473L, 123L, 714L, 497L, 924L, 21L, 221L, 3544L, 402L, 938L, 178L, ...
  1. assays<-(*tmp*, value = new("SimpleList", listData = list( counts = structure(c(825L, 1054L, 71L, 191L, 81L, 756L, 947L, 1158L, 152L, 746L, 1154L, 201L, 1337L, 1246L, 61L, 473L, 123L, 714L, 497L, 924L, 21L, 221L, 3544L, 402L, 938L, 178L, ...
  1. .local(object, ..., value)
  1. dispersionMatrix<-(*tmp*, value = matrix(rep(dispersions(dataSet), ncol(dataSet)), ncol = ncol(dataSet), byrow = FALSE))
  1. dispersionMatrix<-(*tmp*, value = matrix(rep(dispersions(dataSet), ncol(dataSet)), ncol = ncol(dataSet), byrow = FALSE))
  1. estimateFun(mrna, condition, baseLevel, mrna_sizeFactor)
  1. xtail(mrna, rpf, condition, bins = 1000)

xtail still works on my system for R-3.6.3 so its not an urgent issue. I was wondering if you were planning to update the code to make compatible with version 4.x.x ? There were quite a few changes (such as the now default data.frame(stringsAsFactors = FALSE) )made so I am unsure were to start looking. If necessary I can also try under a different platform (RHEL or Fedora Linux) to see if the problem persist

Thanks for your help!

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