Giter Club home page Giter Club logo

Comments (4)

mblue9 avatar mblue9 commented on May 25, 2024

heya, I don't think it's essential to add it to tidybulk as people could do something like this

counts_annot <- mutate(counts_tt, symbol = mapIds(org.Dm.eg.db, keys=feature, keytype = "FLYBASE", column="SYMBOL", multiVals = "first"))

from tidybulk.

stemangiola avatar stemangiola commented on May 25, 2024

heya, I don't think it's essential to add it to tidybulk as people could do something like this

counts_annot <- mutate(counts_tt, symbol = mapIds(org.Dm.eg.db, keys=feature, keytype = "FLYBASE", column="SYMBOL", multiVals = "first"))

So you think we should drop ensembl_to_symbol function?

from tidybulk.

mblue9 avatar mblue9 commented on May 25, 2024

maybe, I don't have a strong feeling to drop it as I understand ensembl_to_symbol might be convenient for people who work with human and mouse but disadvantages are:

  • unclear what annotation is being used, underlying annotation db, version etc (if using mapIds from the org.db package you've loaded to use, then you know)
  • ensembl_to_symbol only works for human and mouse, you could make it work for drosophila but people with other species would need an alternative option
  • extra maintenance to keep the annotation up to date for all species included in tidybulk, and also to document how the annotation is obtained and used in the tidybulk ensembl_to_symbol

if annotation can be done in a line or 2 like above with external packages, then maybe better to just do that & instead focus on documenting how people can get the annotation they need from the external packages?

from tidybulk.

stemangiola avatar stemangiola commented on May 25, 2024

Yes mostly agree, I can put the function as questioning life cycle. It would be nice to put the alternative example in the vignette/README so to remember it.

from tidybulk.

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.