Closed taylorreiter closed 1 year ago
Base: 87.09% // Head: 78.00% // Decreases project coverage by -9.09%
:warning:
Coverage data is based on head (
818d050
) compared to base (6ebc1db
). Patch coverage: 0.00% of modified lines in pull request are covered.:exclamation: Current head 818d050 differs from pull request most recent head 09e578e. Consider uploading reports for the commit 09e578e to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
The new code cov results didn't make there way into the comments from CI, but the test coverage is higher after my last additions where I added the tests to the functions in this PR!
LGTM. More for my clarification:
1. The bar plot colors shows that for a sample the weighted abundance that is represented by that database?
Yes exactly!
2. The upset plot is the similarity or overlap of different samples? This was a little confusing with the color overlaid but I should dig into the notebooks that inspired these to maybe get more context for myself.
Ya this one is overlap in the genomes identified in the different samples. The colors are optional...usually, the colors would make more sense if the databases were, say, all 5 of the genbank databases (fungi, bacteria, protozoa, viruses, and archaea). But my test data weren't labelled like that so it was a little random 😂
I'm planning to write a vignette for all of these functions/use cases to summarize them in one place, but I've been prioritizing writing the functionality so we can use it in e.g. workflows if we want to.
Inspired by plots in this notebook: https://github.com/Arcadia-Science/2022-prjna853785-sourmash/blob/main/notebooks/20220815-visualize-sourmash-taxonomy-results.ipynb
These plots don't use taxonomy information at all. If color is added, it's for the database the genome accessions came from.
plot_gather_classified()
looks like this:And the upset plot either looks like this:![image](https://user-images.githubusercontent.com/23057646/198713699-9cee4799-7ee5-4473-88e3-0c7646b52adb.png)
or like this:![image](https://user-images.githubusercontent.com/23057646/198714257-e79c84a8-0d25-496b-b033-65c3afc8c1d5.png)