This project contains the source code for the R version of the Genetic Code Analysis Toolkit (GCAT) base project. Please refer also to the cammbio homepage for more information.
This package is part of a family of packages:
- gcatbase as the base package for all other GCAT packages.
- gcatcirc for the analysis of circular codes.
- gcatconductance for the analysis of the robustness of a genetic code against point mutations.
gcatbase
is available for R version 4.1 or higher. It requires a Rust 1.57 (or later) compiler installed on your machine. Furthermore the current version of devtools has to be installed on your computer. If you are using Microsoft Windows, then you need to install Rtools.
A common error is that Rust does not have the target installed.
rustup target add [YOUR_TARGET]
Starting a new R console and run:
install.packages("devtools")
devtools::install_github("informatik-mannheim/gcatbase")
It might happen that the Rust package libR-sys
won't compile. A frequent error is that it cannot detect the R major version. Please add the following R statement before invoking the installation. Note that your R version might differ from 4.2.0:
Sys.setenv(LIBRSYS_R_VERSION="4.2.0")
Once you installed gcatbase
, you may read its help pages. The file ./example/Tutorial.Rmd is a good start for an introduction and a tutorial. This markdown document can be executed. The executed tutorial is available online.
Code and documentation copyright 2018-2022 Mannheim University of Applied Sciences. Code released under the Apache License, Version 2.0.