An open API service indexing awesome lists of open source software.

https://github.com/lgatto/biocpkgs

Retrieve Bioconductor package download data
https://github.com/lgatto/biocpkgs

Last synced: about 2 months ago
JSON representation

Retrieve Bioconductor package download data

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/lgatto/biocpkgs.svg?branch=master)](https://travis-ci.org/lgatto/biocpkgs)
[![codecov.io](https://codecov.io/github/lgatto/biocpkgs/coverage.svg?branch=master)](https://codecov.io/github/lgatto/biocpkgs?branch=master)

# The `biocpkgs` package

The `biocpkgs`package offers simple utilities to explore download data
and dependencies of Bioconductor packages. See this
[vignette](https://lgatto.github.io/RforProteomics/articles/biocprot.html)
for a usecase.

## Installation

```{r install, eval = FALSE}
library("devtools")
install_github("lgatto/biocpkgs")
```

## Download statistics

```{r example}
library("biocpkgs")
dl <- pkg_download_data(c("MSnbase", "rpx"))
dl
```

```{r plotex}
library("ggplot2")
ggplot(dl, aes(x = Date, y = Nb_of_distinct_IPs,
group = package, colour = package)) + geom_line()

```

## Package dependencies

```{r deps0}
library("biocpkgs")
p <- c("MSnbase", "mzR") ## packages of interest
g <- pkg_dep_graph(pkgs = p)
g
plot_pkg_dep_graph(g, pkgs = p, fs = 25)
```