-
Notifications
You must be signed in to change notification settings - Fork 1
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
Documentation and Summary page improvements #321
Conversation
Since the Phylogeny Description field can no longer be edited in Klados.
|
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.
See inline notes. Perhaps a bit of a mess left from copy&paste?
Co-authored-by: Hilmar Lapp <[email protected]>
Redundant with "free-form text".
Co-authored-by: Hilmar Lapp <[email protected]>
Co-authored-by: Hilmar Lapp <[email protected]>
Co-authored-by: Hilmar Lapp <[email protected]>
Co-authored-by: Hilmar Lapp <[email protected]>
Thanks for the feedback, @hlapp! I've rewritten the "expected" and "actual" column descriptions as following:
Is this clear? The N in these descriptions was a defunct description of what we do if a phylogeny is unlabeled; in this case, instead of labeling this column |
docs/ExportFormats.md
Outdated
* `Phylogeny: [Phylogeny label] expected`: The label of the node in the specified phylogeny to which the phyloreference was expected to resolve by the author. | ||
* Example: `Alligatoridae` | ||
* `Phylogeny: [Phylogeny label] actual`: The label of the node actually resolved in the specified phylogeny to which the phyloreference was expected to resolve by the author. | ||
* Example: `Alligatoridae_ott195670`, or `(unlabelled)` if the node has no label |
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.
Isn't it Tidy Data practice to have NA or an equivalent value representation to signify that there is no value? Why should we make up a special string to signify the absence of a value? Or is this the special value that's already present on the phylogeny?
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.
The idea behind (unlabelled)
was to distinguish between the case where a phyloref doesn't resolve at all (I think we currently represent this as blank in the Phylogeny: [Phylogeny label] actual
field) and the case where it does resolve, but it does so on a node that doesn't have a label. Some options:
NA
for unlabelled node and blank for no resolution(unlabelled)
(or some other standard string) for unlabelled node andNA
(or some other string, e.g.(could not resolve)
,None
) for no resolutionNA: unlabelled node
vsNA: could not resolve
- We could use the internal node identifier, which looks something like
#phylogeny0_node0
, if the resolved node is unlabelled and blank if the phyloref could not be resolved - Add additional
Phylogeny: [Phylogeny label] error
column, which is blank unless the... actual
column isNA
.
What do you think?
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.
Perhaps this: We could use the internal node identifier, which looks something like #phylogeny0_node0, if the resolved node is unlabelled and blank if the phyloref could not be resolved?
But on reflection, using (unlabelled)
and (could not resolve)
seem at least as clear if not clearer.
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.
But on reflection, using
(unlabelled)
and(could not resolve)
seem at least as clear if not clearer.
Agreed! I've implemented this in 5464ea6.
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.
I've made this a bit clearer in d9f349f:
Phylogeny: [Phylogeny label] expected
: The label of the node in the specified phylogeny to which the phyloreference was expected to resolve.- Example:
Alligatoridae
- Will be set to
(none)
if no expected node was found.
- Example:
Phylogeny: [Phylogeny label] actual
: The label of the node actually resolved for this phyloreference in the specified phylogeny.- Example:
Alligatoridae_ott195670
- Will be set to
(resolution not yet run)
if resolution has not yet been run. - Will be set to
(could not resolve)
if this phyloreference could not be resolved. - Will be set to
(unlabelled)
if a node was resolved, but it had no label.
- Example:
See inline note. @gaurav can you comment, fix, and/or clarify? |
I'm having trouble parsing The label of the node actually resolved in the specified phylogeny to which the phyloreference was expected to resolve by the author in contrast to The label of the node in the specified phylogeny to which the phyloreference was expected to resolve by the author. In the first case, is the node to which the phyloreference is found to resolve different from what the author seems to have expected, or is it the node's label that different from what the author seemed to have expected? |
Ugh, yes, that's a bit of a mess. How about:
I've implemented this change in 2003205. |
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.
Looks all good, finally 👍
expected 1, actual 1, expected 2, actual 2
).This PR also closes #300 by modifying the summary table to make it clear that the final columns refer to phylogenies and replacing phylogeny descriptions (which are no longer displayed in Klados) with phylogeny curator notes.