-
Notifications
You must be signed in to change notification settings - Fork 12
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
Update params in user facing fxns #134
Conversation
Signed-off-by: Daena Rys <[email protected]>
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.
Initial thoughts
Signed-off-by: Daena Rys <[email protected]>
Signed-off-by: Daena Rys <[email protected]>
plotPrevalence has parameter called label. plotGraph has the same parameter called show.label. I think they are doing the same thing, but "label" is little bit more unclear. -> can you check that they do the same thing and rename them to show.label? |
tests/testthat/test-2plotTree.R
Outdated
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.
It seems that you have updated only these tests. I guess the other functions should be also updated?
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.
ok noted.
Signed-off-by: Daena Rys <[email protected]>
Hmm, Should I go ahead and rename to |
I think the idea is still the same; select labels that are going to be shown in the plot? Right? I think then the names should be equal (at least for me it was not intuitive what |
I agree. |
Signed-off-by: Daena Rys <[email protected]>
Signed-off-by: Daena Rys <[email protected]>
Signed-off-by: Daena Rys <[email protected]>
Signed-off-by: Daena Rys <[email protected]>
I checked the unit tests. There are many tests that test internal functions, and parameter names of internal functions are not changed if they cannot be used by user. Unit tests are updated and should work after deprecated parameter names are removed in the future. |
This commit updates parameters of user functions.