-
Notifications
You must be signed in to change notification settings - Fork 27
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
accept other than ranks in addDominant #623
Conversation
Signed-off-by: Daena Rys <rysdaena8@gmail.com>
When the functionalitys is modified/extended, it is good to do the following by default:
Is there something we could have on that? |
Signed-off-by: Daena Rys <rysdaena8@gmail.com>
Signed-off-by: Daena Rys <rysdaena8@gmail.com>
good to check |
Signed-off-by: Daena Rys <rysdaena8@gmail.com>
Signed-off-by: Daena Rys <rysdaena8@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #623 +/- ##
========================================
Coverage ? 67.95%
========================================
Files ? 43
Lines ? 5249
Branches ? 0
========================================
Hits ? 3567
Misses ? 1682
Partials ? 0 ☔ View full report in Codecov by Sentry. |
Confirm when this is ready. |
It is ready. Waiting on @TuomasBorman review. |
The documentations explains now: "With \code{rank} parameter, it is possible to agglomerate taxa based on taxonomic It might be helpful to also mention that in addition to "rank", other grouping variables would be accepted. In fact, "rank" is somewhat misleading argument name if any grouping variable is accepted. Should we consider renaming this argument (as it is not only about ranks)? |
At least the documentation should clearly mention what the function does. |
Seems to me that here the argument name "f" would be closer to the intended purpose, although it is not very clear as an argument name. |
I believe the I do not have strict opinion on this. However, I think we should either use |
Hmm, so are we going with |
|
should i amend changes in new PR or current PR? @TuomasBorman |
I think we can merge this and implement the other changes in other PR. scuttle package uses Also, because we have kind of changed the meaning of However, I think it is little bit problematic if getDominant() does different things even thought the parameters are the "same". I am referring here that the agglomeration is done differently if the grouping variable is taxonomy rank or not. The problem is that this is not transparent for user.
At least, we should notice this problem and document this as clearly as possible.
|
I think this good. I have opened new issue for suggested changes. |
ping: #415