-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
52 lines (36 loc) · 1.26 KB
/
README.Rmd
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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
devtools::load_all()
```
# go2cell
<!-- badges: start -->
[![R-CMD-check](https://github.com/jvfe/go2cell/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jvfe/go2cell/actions/workflows/R-CMD-check.yaml)
[![docs](https://github.com/jvfe/go2cell/workflows/pkgdown/badge.svg)](https://jvfe.github.io/go2cell/index.html)
<!-- badges: end -->
By using [Wikidata](https://www.wikidata.org/wiki/Wikidata:Main_Page), go2cell links Gene Ontology terms to cell types, therefore enriching Omics results with open semantic knowledge.
## Installation
You can install the latest version of go2cell from GitHub with:
```r
install.packages("remotes")
remotes::install_github("jvfe/go2cell")
```
## Quickstart
Suppose we want to retrieve cell types with gene markers
related to GO terms 'muscle contraction' and 'glycoprotein metabolic process':
```{r example, message = FALSE}
library(go2cell)
go_ids <- c("GO:0006936", "GO:0009100")
results <- go2cell(go_ids)
```
```{r show, echo=FALSE}
knitr::kable(head(results))
```