Pandora-IsoMemo / OsteoBioR

Temporal Estimation of Isotopic Values (OsteoBioR)
https://isomemoapp.com/app/osteobior
GNU General Public License v3.0
0 stars 0 forks source link

Calculation of renewal rates #48

Open arunge opened 5 months ago

arunge commented 5 months ago

Add a new tab “Calculate renewal rates”. The input will be a table and the output a separate table. R code will be provided on how to do the calculations.

arunge commented 4 months ago

@isomemo From the description above I would suggest to integrate the new tab in the following way:

image

@mgross Could you provide me the following?

  1. a file with example input data (.csv or .xlsx) or an R script conatining a dataframe with example input data
  2. an R script containing a function that calculates the renewal rates. The function should be defined as follows:

    #' Calculate Renewal Rates
    #'
    #' @param df (data.frame) input data
    #' @param <optionalParameter> (<type of parameter>) <Please describe parameters that are required to control the calculation>
    #' @return <description of the output data>
    calculateRenewalRates <- function(df, <optionalParameter>) {
    <some code for the calculation>
    
    return(result)
    }
    • inputs:
    • a data.frame (the input table)
    • if required: optional parameters to control the calculation with initial values (please mention also the possible range or possible discrete values)
    • output:
    • a data.frame of renewal rates
    • please name all required functions and libraries that are used for the calculation
  3. a file containing the expected output (.csv or xlsx file or an R script containing the expected dataframe)

You can push code to the branch feat/48_calculateRenewalRates, see PR: https://github.com/Pandora-IsoMemo/osteo-bior/pull/53

Please, let me know if you have any questions.

isomemo commented 1 week ago

@arunge @mgross any update on this?