forked from uf-aiaos/GCA
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
71 lines (52 loc) · 2.47 KB
/
README.Rmd
File metadata and controls
71 lines (52 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit README.Rmd (this file) -->
```{r setup, echo = FALSE, warning = FALSE}
chooseCRANmirror(graphics = FALSE, ind = 1)
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# GCA: An R package for genetic connectedness analysis using pedigree and genomic data. <img src="man/figures/GCA.png" height="200" align="right"/>
## Updates:
- Maintenance transition: Starting from July, 2024, the `GCA` R package will be maintained by the [AIAOS Lab at the University of Florida](https://github.com/uf-aiaos/). The AIAOS Lab will handle all future maintenance, updates, and support for the package.
## Installation
`GCA` is currently available on GitHub and can be installed using `devtools` package:
1. Install `devtools` package from CRAN.
```{r, warning = FALSE, message = FALSE, results = 'hide', eval = FALSE}
install.packages("devtools")
```
2. Load the `devtools` package.
```{r, warning = FALSE, results = 'hide', eval = FALSE}
library(devtools)
```
3. Install `GCA` package from GitHub.
```{r, warning = FALSE, results = 'hide', message = FALSE, eval = FALSE}
install_github('uf-aiaos/GCA')
```
**Note**: For Apple Silicon (ARM64) users, if you encounter the error `Could not find tools necessary to compile a package`, it can be fixed using the following command.
```{bash, warning = FALSE, results = 'hide', eval = FALSE}
# Check the version of gcc installed by homebrew
ls /opt/homebrew/bin/gcc*
# Create a symlink `gcc` under /usr/local/bin/ and point to the gcc installed by Homebrew (gcc-14 in this case).
sudo ln -s /opt/homebrew/bin/gcc-14 /usr/local/bin/gcc
# Restart the terminal and then install the package using `install_github('uf-aiaos/GCA')`.
```
4. Load `GCA` package.
```{r, warning = FALSE, results = 'hide', eval = FALSE}
library(GCA)
```
### Fail to load documentation (e.g., `?GCA`) after reinstalling GCA.
```{r,warning = FALSE, results = 'hide', eval = FALSE}
.rs.restartR()
```
## Documentation
[Vignette](https://uf-aiaos.github.io/GCA_vignette/GCA.html)
## Contact information and help
- Haipeng Yu (<haipengyu@ufl.edu>)
## Reference
Haipeng Yu and Gota Morota. GCA: An R package for genetic connectedness analysis using pedigree and genomic data. BMC Genomics, 2021. [10.1186/s12864-021-07414-7](https://bmcgenomics.biomedcentral.com/articles/10.1186/s12864-021-07414-7)
## License
This project is primarily licensed under the GNU General Public License version 3 (GPLv3).