The kipettools package is a set of tools to help with regular tasks at the KI PET Centre involving interacting with outputs from the pipeline using R. It mostly consists of convenience functions developed over the years which have been useful: due to this process, however, much of the code is not very pretty, coming from early stages of learning R, or from hacking something together for the job at hand. Nevertheless, many of these tools have stood the test of time in being useful, so hopefully having them all documented and saved in one place will make them more so..
The package can be installed in R directly from GitHub, using the devtools package as follows:
# install.packages("devtools")
devtools::install_github("mathesong/kipettools")
The primary functions available here are the following:
I am also busy implementing some functions for extracting information from and converting ecat7 files. This includes some wrapper functions around terminal applications. For these, you will need both gzip and the Turku PET Centre C libraries (tpcclib) installed and added to your path. For Windows users, gzip is installed with Rtools - alternatively, you can use installr::install.Rtools().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.