Giter Club home page Giter Club logo

q2-corncob's People

Contributors

bryandmartin avatar paulinetrinh avatar

Watchers

 avatar  avatar

Forkers

paulinetrinh

q2-corncob's Issues

ImportError: cannot import name 'Citation'

Tried to install the qiime2 corncob plugin following the instructions in the community tutorial, but when I try to run the refresh-cache command, I get an "ImportError: cannot import name 'Citation'". Is this an issue on my end, or is a file missing from the repository, or is something else going on?

Thank you!

could the FeatureData[Taxonomy] input be optional?

I have some ideas after looking over the q2-corncob tutorial here. I am very excited that corncob is finally available as a plugin!

As far as I can tell from looking at the example output, the FeatureData[Taxonomy] is really just used to label the features, and is not actually used explicitly by corncob.

That is convenient if the features have taxonomy classified, but what if they do not? E.g., what if the features are metabolites or genes? Or what if the feature table has already been collapsed by taxonomy (in which case the feature IDs are taxonomic labels and there is not an associated FeatureData[Taxonomy] artifact)?

It seems much more flexible if FeatureData[Taxonomy] is not a required input (or even isn't accepted as an input at all to make things more simple; or it could be a metadata file, in which case any type of feature metadata could be used to annotate these features in the corncob results). FeatureData[Taxonomy] artifacts are viewable as metadata, so if the output of corncob has a metadata transformer (e.g., like this), an alternative option would be to merge these results in a metadata visualization with the command qiime metadata tabulate as shown here.

I see that this would disturb the current output type (which is FeatureData[Taxonomy]). That seems like a slightly questionable output type, though; it is true that this output stores taxonomy information in its current form, but that is not the intended use of the results, which are to display the results of a statistical test. Defining a new format is not all that difficult (e.g., see this) and I would be happy to help. E.g., make a FeatureData[CorncobResults] type format.

An alternative would be to make this method into a visualizer, which would produce a QZV; the advantages are (1) you don't need to define a new type and (2) you could pair those results with useful plots and the like. The disadvantages are (1) you would need to figure out how to write a visualizer (I can help) and (2) it would make it more difficult for other developers to use corncob in pipeline actions (e.g., I can imagine writing a pipeline that produces corncob results and displays them along with volatility plots of longitudinal feature abundances — those results courtesy of q2-longitudinal). So I think keeping this as a method and writing a new format would be better, unless if you have specific plots in mind (e.g., it would be fairly trivial to just copy that visualization I linked to but display corncob results in place of importance scores)

Just my 2 cents! Let me know what you think.

New differential type

Just in case there is interest, there is now a new qiime2 Differential type (see here), intended to help streamline the existing differential abundance methods in the qiime2 ecosystem.

To give some idea of the benefits, it is possible to directly push the output of the learned regression coefficients into qurro, a new interactive differential abundance visualization.

More tools will surely become available for interpreting differentially abundant features - so it may be of interest to have a command that can output a FeatureData[Differential] type.

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.