Closed Daenarys8 closed 3 weeks ago
Should we use MARGIN as a parameter name for instance in agglomerateByVariable https://github.com/microbiome/mia/pull/556
The fail of check is not related to this PR
Does this already take into account all parameters from the table?
Does this already take into account all parameters from the table?
yes. Except for obj parameter in summary. For some reason it rejects and throws error about signature.
Btw use normal push instead of force push for common push operation.
This might be hazardous if someone else is also working in this PR. You are forcing the history be the same as in your local. Force push should not be the ordinary tool to use
Does this already take into account all parameters from the table?
yes. Except for obj parameter in summary. For some reason it rejects and throws error about signature.
You should change also the signature
signature = c(object = "SummarizedExperiment")
--> signature = c(x = "SummarizedExperiment")
Does this already take into account all parameters from the table?
yes. Except for obj parameter in summary. For some reason it rejects and throws error about signature.
You should change also the signature
signature = c(object = "SummarizedExperiment")
-->signature = c(x = "SummarizedExperiment")
I did change the signature. Then it issued a warning about :
Warning message:
multiple methods tables found for ‘summary’
Ahh, it seems that generic summary function comes from R ecosystem. We have not defined summary as generic function, we have only defined methods for summary function. That R ecosystem summary uses "object" in its signature. So this problem comes from there.
We can keep the argument name as object in this case
@antagomir Thoughts? I think the naming convention is now good with these changes.
MARGIN is the only naming-thing left https://github.com/microbiome/mia/pull/556
Attention: Patch coverage is 80.94218%
with 89 lines
in your changes missing coverage. Please review.
Please upload report for BASE (
devel@315beb0
). Learn more about missing BASE report.:exclamation: Current head ed597c4 differs from pull request most recent head 87a981a
Please upload reports for the commit 87a981a to get more accurate results.
Files | Patch % | Lines |
---|---|---|
R/getCrossAssociation.R | 89.58% | 10 Missing :warning: |
R/importMetaphlan.R | 0.00% | 10 Missing :warning: |
R/calculateUnifrac.R | 63.63% | 8 Missing :warning: |
R/importMothur.R | 70.37% | 8 Missing :warning: |
R/importQIIME2.R | 69.23% | 8 Missing :warning: |
R/merge.R | 44.44% | 5 Missing :warning: |
R/agglomerate.R | 73.33% | 4 Missing :warning: |
R/makeTreeSummarizedExperimentFromBiom.R | 71.42% | 4 Missing :warning: |
R/makeTreeSummarizedExperimentFromPhyloseq.R | 71.42% | 4 Missing :warning: |
R/taxonomy.R | 78.94% | 4 Missing :warning: |
... and 13 more |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Closing since duplicated with https://github.com/microbiome/mia/pull/582
This commit organizes parameters used by user.