cellbench

R package for benchmarking single cell analysis methods

https://github.com/shians/cellbench

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 7 committers (14.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.7%) to scientific vocabulary

Keywords

benchmark bioinformatics r

Keywords from Contributors

bioconductor-package immune-repertoire gene human-cell-atlas single-cell-rna-seq bioconductor u24ca289073 grna-sequence transcriptomics proteomics
Last synced: 6 months ago · JSON representation

Repository

R package for benchmarking single cell analysis methods

Basic Info
  • Host: GitHub
  • Owner: Shians
  • License: gpl-3.0
  • Language: HTML
  • Default Branch: devel
  • Homepage:
  • Size: 3.99 MB
Statistics
  • Stars: 32
  • Watchers: 5
  • Forks: 6
  • Open Issues: 8
  • Releases: 0
Topics
benchmark bioinformatics r
Created over 7 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

CellBench

Travis build status Coverage status

R package for benchmarking single cell analysis methods, primarily inspired by the modelling structure used in DSC.

Installation

r if (!require(remotes)) install.packages("remotes") remotes::install_github("shians/CellBench", ref = "R-3.5", build_opts = c("--no-resave-data", "--no-manual"))

Introduction

This package revolves around one object and one function. The benchmark_tbl (benchmark tibble) and the apply_methods(x, methods) function.

We expect data to to be stored in lists, and we apply functions stored in lists to the data. This creates a benchmark_tbl where the names of the lists items are stored as columns and the final column contains the result of the computations.

```r library(CellBench)

sample1 <- data.frame( x = matrix(runif(25), nrow = 5, ncol = 5) )

sample2 <- data.frame( x = matrix(runif(25), nrow = 5, ncol = 5) )

datasets <- list( sample1 = sample1, sample2 = sample2 )

transform <- list( correlation = cor, covariance = cov )

datasets %>% apply_methods(transform)

# A tibble: 4 x 3

data metric result

1 sample1 correlation

2 sample1 covariance

3 sample2 correlation

4 sample2 covariance

```

We can additionally chain method applications and this will combinatorially expand our benchmark_tbl so that combinations of methods can easily be computed.

```r metric <- list( mean = mean, median = median )

datasets %>% applymethods(transform) %>% applymethods(metric)

# A tibble: 8 x 4

data transform metric result

1 sample1 correlation mean 0.0602

2 sample1 correlation median -0.0520

3 sample1 covariance mean 0.00823

4 sample1 covariance median -0.00219

5 sample2 correlation mean 0.303

6 sample2 correlation median 0.482

7 sample2 covariance mean 0.0115

8 sample2 covariance median 0.0132

```

The result table is essentially a regular tibble and works with all tidyverse packages.

See

r vignette("Introduction", package = "CellBench")

for a more detailed introduction and example with biological data.

Features

  • High compatibility with dplyr and rest of tidyverse, fundamental data object can be used with dplyr verbs
  • Multithreading, methods can be applied in parallel

License

This package is licensed under GNU General Public License v3.0 (GPL-3.0).

Owner

  • Name: Shian Su
  • Login: Shians
  • Kind: user
  • Location: Melbourne, Australia
  • Company: Walter and Eliza Hall @WEHI_research

Bioinformatician, biostatistician and biological lifeform. Interested in R, C++ and Javascript for genomic data processing, summarisation and visualisation.

GitHub Events

Total
  • Watch event: 3
Last Year
  • Watch event: 3

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 348
  • Total Committers: 7
  • Avg Commits per committer: 49.714
  • Development Distribution Score (DDS): 0.063
Past Year
  • Commits: 29
  • Committers: 3
  • Avg Commits per committer: 9.667
  • Development Distribution Score (DDS): 0.138
Top Committers
Name Email Commits
Shians r****u@g****m 326
Nitesh Turaga n****a@g****m 14
J Wokaty j****y 2
Hervé Pagès h****b@g****m 2
J Wokaty j****y@s****u 2
Peter Hickey p****y@g****m 1
QGouil k****l@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 10
  • Total pull requests: 3
  • Average time to close issues: 23 days
  • Average time to close pull requests: 10 days
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.3
  • Average comments per pull request: 0.67
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Shians (8)
  • lovivi (1)
  • PeteHaitch (1)
Pull Request Authors
  • QGouil (2)
  • PeteHaitch (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

DESCRIPTION cran
  • R >= 3.6 depends
  • SingleCellExperiment * depends
  • magrittr * depends
  • methods * depends
  • stats * depends
  • tibble * depends
  • utils * depends
  • BiocFileCache * imports
  • BiocParallel * imports
  • dplyr * imports
  • glue * imports
  • lubridate * imports
  • memoise * imports
  • purrr >= 0.3.0 imports
  • rappdirs * imports
  • rlang * imports
  • tidyr * imports
  • tidyselect * imports
  • BiocStyle * suggests
  • covr * suggests
  • ggplot2 * suggests
  • knitr * suggests
  • limma * suggests
  • rmarkdown * suggests
  • testthat * suggests