Here you can find the code for the "SaToWIB routine", based on the idea presented in Anders Fuglsang's publication "Detection of data manipulation in bioequivalence trials". The code is written in R.
Reference:
*Fuglsang A. Detection of data manipulation in bioequivalence trials. Eur J Pharm Sci. 2021 Jan 1;156:105595. doi: 10.1016/j.ejps.2020.105595. Epub 2020 Oct 11. PMID: 33053409.
- Read Instructions and explanations.pdf
- Download or copy SaToWIB.R in your R terminal (maybe you first need to install R and Rstudio)
- Create a new folder on your device and download formatted PK data, which is an example of study data and will be used by the program.
- Copy the path of the new folder (which contains the formatted PK data) and enter the path three times in the SaToWIB code as described in chapter 1 of the code.
- Run the code
- You might need to run chapter 7 "EXPORT PLOTS TO pdf" of the code step by step (Ctrl+Enter) if you cannot open the Similarity plasma sample plots.pdf in your new folder.
- The results Similarity plasma sample results.csv and Similarity plasma sample plots.pdf are created in the new folder. As an example of the results please find both files here as well.
- Please do not hesitate to comment or create issues to improve and expand this article on safe medicines!