Open arunge opened 3 months ago
@isomemo We can start to integrate the new feature. Please feel free to provide the code, or to assign the person to this issue who will provide the code. Thanks in advance!
@arunge @mgross I think that Marcus should provide this
@mgross Please, let me know when you start working on this issue and if you have any questions. Please check the comment above for details.
I need more details on the functionality, I don't know what should be done and what exact inputs/outputs are.
Steps to provide the code
It helps using ideas from test-driven development to add new features. Following this I prepared a new test containing:
Please check the pull request: https://github.com/Pandora-IsoMemo/iso-app/pull/212/files and add your code for the calculations to the new function
getBinaryPredictions(...)
1. Example data:
getBinaryPredictions(...)
. Here one can2. The function definition:
feat/211_binaryMapForOperateR
:functions
andlibraries
that are used for the calculation3. The expected output:
.csv
orxlsx
or.rds
file or an R script containing the expected result)Note on error handling: In order to throw errors you can include conditions inside your code, e.g.
stop(...)
andwarning(...)
statements will be caught from outside the function and forwarded to the user. Errors/warnings that come from other functions that are called inside of your function will be caught automatically.