-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
50 lines (39 loc) · 1.11 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
---
output: github_document
---
```{r}
#| echo: false
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/"
)
```
# cpp11bigwig
<!-- badges: start -->
[![R-CMD-check](https://github.com/rnabioco/cpp11bigwig/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rnabioco/cpp11bigwig/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/rnabioco/cpp11bigwig/graph/badge.svg)](https://app.codecov.io/gh/rnabioco/cpp11bigwig)
<!-- badges: end -->
cpp11bigwig provides read-only access to bigWig and bigBed files using libBigWig <https://github.com/dpryan79/libBigWig>.
## Installation
::: .pkgdown-release
```{r, eval = FALSE}
# Install released version from CRAN
install.packages("cpp11bigwig")
```
:::
::: .pkgdown-devel
```{r}
#| eval: false
# Install development version from GitHub
# install.packages("pak")
pak::pak("rnabioco/cpp11bigwig")
```
:::
```{r}
library(cpp11bigwig)
bw <- system.file('extdata', 'test.bw', package = 'cpp11bigwig')
read_bigwig(bw)
bb <- system.file('extdata', 'test.bb', package = 'cpp11bigwig')
read_bigbed(bb)
```