This pull request will correct the usage of cellSorted in:
array/DNAm/preprocessing/clusterCellTypes.r
array/DNAm/preprocessing/CETYGOdeconvolution.r
The scripts now enforce the variable to be a Boolean (via as.logical) and will treat the value as FALSE if a non truthy/falsy values is given (as.logical gives NA).
Issue ticket number
This pull request is to address issue: #171 .
Type of pull request
[x] Bug fix
[ ] New feature/enhancement
[ ] Code refactor
[ ] Documentation update
Checklist
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have tested my code to check that it is functional
[x] I have used linters to check for common sources of errors
[ ] I have implemented fail safes in my code to account for edge cases
[ ] I have made the corresponding changes to the documentation
Description
This pull request will correct the usage of
cellSorted
in:The scripts now enforce the variable to be a Boolean (via
as.logical
) and will treat the value asFALSE
if a non truthy/falsy values is given (as.logical
givesNA
).Issue ticket number
This pull request is to address issue: #171 .
Type of pull request
Checklist