-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.Rmd
64 lines (46 loc) · 2.06 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
52
53
54
55
56
57
58
59
60
61
62
63
64
---
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%"
)
```
# JBrowseR <img src='man/figures/logo.png' align="right" height="136" />
<!-- badges: start -->
[![R-CMD-check](https://github.com/elliothershberg/JBrowseR/workflows/R-CMD-check/badge.svg)](https://github.com/elliothershberg/JBrowseR/actions)
<!-- badges: end -->
JBrowseR is an R package that provides a simple and clean interface to [JBrowse 2](https://jbrowse.org/jb2/) for R users.
Using JBrowseR, you can:
- Embed the JBrowse 2 genome browser in **R Markdown** documents and **Shiny applications**
- Deploy a genome browser directly from the R console to view your data
- Customize your genome browser to display your own data
With this functionality, you can deploy a first-class genome browser with your data in just a few lines of R code!
## Installation
You can **soon** install the released version of JBrowseR from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("JBrowseR")
```
And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("elliothershberg/JBrowseR")
```
## Example
This line of code can be used to launch a genome browser from your R console:
```{r example, eval=FALSE}
library(JBrowseR)
JBrowseR("ViewHg19",
location = "10:29,838,737..29,838,819")
```
<img src="man/figures/README-example-1.png" width="100%" />
## Getting started
In order to get started with JBrowseR, please refer to the vignette that best suits your needs:
- [Introduction](https://elliothershberg.github.io/JBrowseR/articles/JBrowseR.html)
- [Custom browser tutorial](https://elliothershberg.github.io/JBrowseR/articles/custom-browser-tutorial.html)
- [JSON configuration tutorial](https://elliothershberg.github.io/JBrowseR/articles/json-tutorial.html)
- [Creating URLS](https://elliothershberg.github.io/JBrowseR/articles/creating-urls.html)