This was updated on 10-June-2022, and should now be compatible with R v4.2 and higher. Installation instructions for Windows and Linux can be found in the tutorial. However, such instructions have changed for the Mac, so please see below for updated instructions on a Mac.
Here you can download files for the related package.
GenotypeData.txt = example genotype file that can be used for testing.
simrel.txt = example genotype file for testing group relatedness function.
related_1.0.tar.gz = source code that can be downloaded and compiled on Windows, Linux, and Mac operating systems
Installation
Installation instructions for Windows and Linux can be found in the Tutorial.
For a Mac, please follow the steps below.
sudo xcode-select --install
gfortran
(required for compiling):
gfortran
export PATH=$PATH:/usr/local/gfortran/bin
devtools
package
Repository (CRAN)
devtools
ggplot2
package
Repository (CRAN)
ggplot2
.dylib
files:
libgcc_s.1.dylib
libgfortran.3.dylib
libquadmath.0.dylib
/usr/local/lib/
directoryrelated
:
.tar.gz
filePackage Archive File (.tgz; .tar.gz)
.tar.gz
file and select itYou may see a number of warnings, but no errors. These warnings are OK, and can be safely ignored.
Please let me know if you run into problems with this.
Note that the versions of R and gfortran that you download need to be compatible with your computer. The main difference now is that older Macs will have an Intel processor, whereas newer Macs will have the M1 (or later) processors. These require different versions of these programs.