-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Match feature table and ordination #237
Merged
Merged
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b51c5ff
BUG: match feature table and ordination
ElDeveloper 6ab002e
Merge branch 'master' of github.com:biocore/empress into issue-204
ElDeveloper ba68daf
Add vim files to gitignore and update table
ElDeveloper 3b86534
DOC: Add note about tables
ElDeveloper 478710e
BLD: Fix plugin setup
ElDeveloper 2ec2d6e
TST: Add missing parameter
ElDeveloper ca353cb
Improve the flow of the code
ElDeveloper a6308ea
Apply suggestions from code review
ElDeveloper 2a7c492
Merge branch 'issue-204' of github.com:ElDeveloper/empress into issue…
ElDeveloper 41fc8ae
Apply suggestions from code review
ElDeveloper 75cfdda
DOC: Add comment from @fedarko
ElDeveloper c7d1abc
Merge branch 'issue-204' of github.com:ElDeveloper/empress into issue…
ElDeveloper 96d7944
DOC: Add note about pandas 🐼
ElDeveloper 30e8514
DOC: Document the table and flag
ElDeveloper 733bf62
Missing slash
ElDeveloper File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,3 +142,8 @@ dmypy.json | |
# dev scripts/data | ||
inf/ | ||
create-plt.bash | ||
|
||
# vi swap and temp files | ||
*.swp | ||
*.swo | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,29 @@ This generates a visualization of a phylogenetic tree at | |
|
||
### Example 2: Using Empress to visualize a tree in tandem with an ordination | ||
|
||
**Note**: When your ordination was created from a subset of your original | ||
dataset (e.g. the feature table was rarefied, or certain low-frequency features | ||
or samples were otherwise filtered out), we recommend that you carefully | ||
consider *which* feature table you would like to visualize in Empress. You can | ||
use either: | ||
|
||
- A *filtered table* that matches the ordination (e.g. with rarefaction done, | ||
and/or with low-abundance features/samples removed), or | ||
- A *raw table* -- that is, the original table before performing | ||
rarefaction/filtering for the ordination. | ||
|
||
There are some pros and cons for either of these choices. If you use a | ||
*filtered table*, then the Empress visualization will include less data than in | ||
the *raw dataset*: this will impact sample presence information, sample | ||
metadata coloring, and other parts of the visualization. If you select the *raw | ||
table*, you might find that some nodes in the tree won't be represented by any | ||
of the samples in the ordination (if the ordination was made using a *filtered | ||
table*). If you'd like to read more about this, there's some informal | ||
discussion in [pull request 237](https://github.com/biocore/empress/pull/237). | ||
|
||
The command below uses the *raw dataset* and removes extra samples not | ||
represented in the ordination (using the `--p-filter-extra-samples` flag): | ||
|
||
```bash | ||
qiime empress plot \ | ||
--i-tree docs/moving-pictures/rooted-tree.qza \ | ||
|
@@ -66,6 +89,7 @@ qiime empress plot \ | |
--m-sample-metadata-file docs/moving-pictures/sample_metadata.tsv \ | ||
--m-feature-metadata-file docs/moving-pictures/taxonomy.qza \ | ||
--o-visualization docs/moving-pictures/empress-tree-tandem.qzv | ||
--p-filter-extra-samples | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GitHub isn't letting me suggest it on the correct line, but i think this is missing a backslash after the end of the above line |
||
``` | ||
|
||
This generates a visualization of a phylogenetic tree alongside a visualization | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something i just thought of (sorry for not bringing this up earlier), but since the table.qza file is changed in this PR the README should be updated to match that, right? i.e. the "view"/download links should be altered at least (preferably with a sentence or 2 of explaining which table from the MP tutorial this is)