Git Product home page Git Product logo

Comments (3)

nhejazi avatar nhejazi commented on August 27, 2024 1

Resolved by #43.

from biotmle.

nhejazi avatar nhejazi commented on August 27, 2024

Thanks for your bug report. It will likely take me a bit of time to investigate this as I have not had the opportunity to maintain the biotmle R package well.

The error appears to stem from the fact that some piece of the code for cleaning/re-shaping the input data in the biomarkertmle wrapper function attempts to use t() to transpose the data, which apparently fails when the data is not of class matrix --- in this case, it appears to be of class data.frame (hence the mention of as.data.frame in the traceback shown).

With regard to the vignette source code (on Bioconductor and elsewhere): The code chunk you've excerpted is set to eval = FALSE in order to avoid actually running the biomarkertmle function, which will cause the build time of the vignette to exceed the time allotted by the Bioconductor (and, I believe, CRAN as well) build/check systems. This should not be a concern, as the relevant code is still subject to unit tests that (seem to) verify its integrity.

from biotmle.

nhejazi avatar nhejazi commented on August 27, 2024

It appears that the bug reported here originates from a change in the expected behavior of SummarizedExperiment::assay() (likely at some point during the transition to Bioconductor 3.7 recently) where the class of the object returned by assay() is DataFrame rather than the expected Matrix. This causes a failure in both t() and other downstream function calls meant to prepare the data for invoking the TML estimation procedure. This has been fixed in 2e78b7f in #43, which will likely be merged very soon.

from biotmle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.