Closed Daenarys8 closed 4 months ago
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?
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?
Hmm, label
focuses on rownames while show.label
handles logical vectors for selective labeling and matches character vectors to node data columns i.e label
is used to specify which labels from the rownames of the data should be selected and show.label
controls whether and which tip labels are plotted.
Should I go ahead and rename to show.lable
?
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?
Hmm,
label
focuses on rownames whileshow.label
handles logical vectors for selective labeling and matches character vectors to node data columns i.elabel
is used to specify which labels from the rownames of the data should be selected andshow.label
controls whether and which tip labels are plotted.Should I go ahead and rename to
show.lable
?
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 label
do. For show.label
it is much more clear what it does; controls labels)
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?
Hmm,
label
focuses on rownames whileshow.label
handles logical vectors for selective labeling and matches character vectors to node data columns i.elabel
is used to specify which labels from the rownames of the data should be selected andshow.label
controls whether and which tip labels are plotted. Should I go ahead and rename toshow.lable
?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
label
do. Forshow.label
it is much more clear what it does; controls labels)
I agree. show.label
is more intuitive. Will add the change.
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.