-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Rmd
55 lines (41 loc) · 2.04 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
---
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%",
tidy.opts = list(width.cutoff = 80),
tidy = TRUE
)
```
# LoopRig <img src="man/figures/looprig_logo.png" height="180px" align="right"/>
[](https://cran.r-project.org/package=LoopRig)
[](https://travis-ci.com/hsmaan/LoopRig)
[](https://ci.appveyor.com/project/hsmaan/LoopRig)
[](https://codecov.io/gh/hsmaan/LoopRig)
## Overview
LoopRig is an R package that aims to standardize complex coordinate-based workflows utilizing chromatin loop and genomic element data.
## Installation
LoopRig is available on CRAN and can be installed using:
```r
install.packages("LoopRig")
```
Alternatively, LoopRig can also be installed directly from GitHub:
``` r
# install.packages("devtools")
devtools::install_github("hsmaan/LoopRig", build_vignettes = TRUE)
```
## Usage
Element data from BED4..n files and chromatin loop data from BEDPE files is used as input for the `LoopsToRanges()` and `ElementsToRanges()` functions, which create S3 containers for S4 *GRangesList* and *GRanges* objects respectively. These containers are of class *LoopRanges* and *ElementRanges*, and can be analyzed using the chromatin loop manipulation and element linkage functions available in LoopRig.
An in-depth tutorial is available in the package vignettes:
```r
browseVignettes("LoopRig")
vignette("LoopRig-Tutorial")
```
Complete package documentation available [here](https://hsmaan.github.io/LoopRig/)
## License
[GNU General Public License 3.0](https://github.com/hsmaan/LoopRig/blob/master/LICENSE)