-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bedgraph error due to NA handling in meth.diff export
Fixes #331 Fix the error in `tests/testthat/test-17-bedgraph.r` due to NA handling in `meth.diff` export as log-transformed value. * **R/bedgraph.R** - Disallow transformation of `meth.diff` values in `bedgraph` function for `methylDiff` objects. - Add a check to ensure `log.transform` is `FALSE` when `col.name` is `meth.diff`. * **tests/testthat/test-17-bedgraph.r** - Update tests to ensure `log.transform` is not allowed for `meth.diff` values. - Add a test to check for error when `log.transform` is `TRUE` for `meth.diff`. - Add tests for `methylDiffDB` objects to ensure `log.transform` is not allowed for `meth.diff` values. * **R/methylDBFunctions.R** - Add a check to ensure `log.transform` is `FALSE` when `col.name` is `meth.diff`. - Disallow transformation of `meth.diff` values in `bedgraph` function for `methylDiffDB` objects. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/al2na/methylKit/issues/331?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
3 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters