Comments (5)
The Santiago team agrees with this 100%!
I'd like to add that while pathoID writes a sorted .tsv file, it's sorted by Final Guess and sometimes you want it sorted by Final Read Numbers.
If we read the full pathoID output without any cutoffs, then in phyloseq you can easily get the top X by issuing something like:
top10 <- names(sort(taxa_sums(physeq), TRUE)[1:10])
Someone may want to define the top X by proportions instead of counts, in which case a transformation is needed:
physeq <- transform_sample_counts(physeq, function(x) x / sum(x) )
Regarding point 3, I think users should be warned to upload unfiltered results only, and let pathoStats decide when it's appropriate to filter.
BTW, @mlosada323 mentioned rarefaction for 16S data. That's also a oneliner in phyloseq:
physeq_rare<-rarefy_even_depth(physeq, sample.size =1000,replace=FALSE, rngseed=T);physeq_rare
Cheers,
Eduardo
PS: The alluvial plot is almost done! @Sanrrone
from pathostat.
Wow looks nice @Sanrrone!
from pathostat.
Can you make a remote branch and push up what you have currently? I'd like to look at how you are getting the sample condition.
from pathostat.
Im confusing about how remote branch works, I did make a pull request, is the same?, wherever, you can looks the change in my fork: https://github.com/Sanrrone/PathoStat
from pathostat.
Oh, didn't know you were working on a fork.
Remote branch is in the same repository, while fork creates a new repository. There is currently debate about when to branch or fork, but it boils down to how closely you are involved with the original project and whether your changes will eventually be incorporated into the original project.
Just make sure to keep your fork in sync with master, and (ideally) merge the upstream master and test your code before making a pull request. Same goes for branches.
from pathostat.
Related Issues (16)
- BatchQC dependency HOT 1
- Modularize code HOT 4
- Check that cached taxonomy matches with loaded reports HOT 1
- Load phyloseq object into shiny server (temporary) HOT 2
- Implement core microbiome 2D plot
- Implement core microbiome heatmap
- Remove dependency on "microbiome" HOT 5
- Improve formatting of taxonomy table
- Taxonomy table data structure HOT 1
- Implement temporal analysis and visualization tab HOT 1
- Shini not working HOT 1
- Accommodate phyloseq-class objects throughout HOT 1
- Coerce input data into phyloseq-class objects
- Distinguish between discrete and continuous variables HOT 1
- Create color scheme that can be used across modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pathostat.