microdiluteR

A framework for analyzing broth microdilution assays from 96-well plate designs.

https://github.com/silvia-eckert/microdiluter

Science Score: 67.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: sciencedirect.com, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (20.2%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

A framework for analyzing broth microdilution assays from 96-well plate designs.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License Citation

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  warning = FALSE,
  message = FALSE,
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/",
  out.width = "100%"
)
```

# microdiluteR 
![GitHub R package version](https://img.shields.io/github/r-package/v/silvia-eckert/microdiluteR)
![GitHub License](https://img.shields.io/github/license/silvia-eckert/microdiluteR)
[![R CMD check](https://github.com/silvia-eckert/microdiluteR/actions/workflows/rcmdcheck.yml/badge.svg)](https://github.com/silvia-eckert/microdiluteR/actions/workflows/rcmdcheck.yml)
[![codecov](https://codecov.io/gh/silvia-eckert/microdiluteR/graph/badge.svg)](https://app.codecov.io/gh/silvia-eckert/microdiluteR/)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/silvia-eckert/microdiluteR)
[![Total downloads](https://cranlogs.r-pkg.org/badges/grand-total/microdiluteR?color=blue)](https://CRAN.R-project.org/package=microdiluteR)
![](https://img.shields.io/badge/repo%20status-active-green.svg)
[![DOI](https://zenodo.org/badge/796425451.svg)](https://zenodo.org/doi/10.5281/zenodo.11186925)
[![Say Thanks](https://img.shields.io/badge/Thanks-message?label=Say&labelColor=%234b4b4b&color=%23ebfc03&link=https%3A%2F%2Fsaythanks.io%2Fto%2Fsilvia-eckert)](https://saythanks.io/to/silvia-eckert)


## :notebook: Background

The `microdiluteR` package is designed to help researchers tidy up data from photometer plates and provides functions to easily add metadata, regardless of whether the user is processing a single plate or multiple plates with complex metadata structures. This package was developed with a special focus on the analysis of [broth microdilution assays](https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/broth-dilution). A detailed tutorial can be found [here](https://silvia-eckert.github.io/microdiluteR/).

## :pushpin: Citation
Creating this package was a lot of work, and I made it available for free. If you use this package for your publication, be fair and cite it, e.g. using the following `biblatex`  entry:

```{r citation, eval = FALSE}
@software(eckert_micodiluteR_2024,
  author  = {Eckert, Silvia},
  title   = {microdiluteR},
  version = {1.0.1.},
  date    = {2024-05-13}
  year    = {2024},
  note    = {R package version 1.0.1, available from CRAN},
  url     = {https://cran.r-project.org/package=microdiluteR}
  doi     = {10.5281/zenodo.11186926}
)
```

Or you can cite as follows using the [APA](https://en.wikipedia.org/wiki/APA_style) citation style:

```{r apa, eval = FALSE}
Eckert, S. (2024). microdiluteR (Version 1.0.1) [Software]. DOI: 10.5281/zenodo.11186926. Retrieved from: https://CRAN.R-project.org/package=microdiluteR
```

Or use `citation("microdiluteR")` to retrieve citation information after installing the R package.

## :floppy_disk: Installation

You can install the CRAN version of `microdiluteR` with:

```{r cran_installation, eval = FALSE}
install.packages("microdiluteR")
```
You can install the development version of `microdiluteR` from GitHub with:

```{r github_installation, eval = FALSE}
# install.packages("devtools") # if not installed already
devtools::install_github("silvia-eckert/microdiluteR")
```

## :joystick: Usage

You can load `microdiluteR` as follows:

```{r library}
library(microdiluteR)
```

Let's try out the main function `tidy_plates()` with example data:
```{r data}
data(bma)
bma[1] # file name is bma_grp1_exp2_T0
```

For the example data, the corresponding metadata is stored as an attribute:
```{r attribute}
attr(bma, "metadata")
```

Let's add the metadata and create a tidy data frame for further processing:
```{r function}
tidy_data <- tidy_plates(bma[1],
                         how_many = "single",
                         direction = "horizontal",
                         validity_method = "threshold",
                         threshold = 0.355, # values above this are set as invalid
                         group_ID = "Group 1", # optional
                         experiment_name = "Experiment A", # optional
                         treatment_labels = rep(c("10%", "30%", "100%", "Control"), each = 2),
                         concentration_levels = rep(c(100,200), times = 4))

# Let's rename some columns for convenience
names(tidy_data)[names(tidy_data) == 'Position'] <- 'Pos'
names(tidy_data)[names(tidy_data) == 'Value'] <- 'Val'
names(tidy_data)[names(tidy_data) == 'Treatment'] <- 'Treat'
names(tidy_data)[names(tidy_data) == 'Concentration'] <- 'Conc'
names(tidy_data)[names(tidy_data) == 'Timepoint'] <- 'TP'
```

This is the resulting table:
```{r result_table}
tidy_data
```

## :hammer_and_wrench: Issues
If you find a :beetle: in the code, feel free to write this in the
[Issues](https://github.com/silvia-eckert/microdiluteR/issues) section. If you want to contribute to this
package or suggest a new feature, feel free to use the
[Pull Requests](https://github.com/silvia-eckert/microdiluteR/issues) section.

## :scroll: License
This repository and the files therein are licensed under the [GPL-3.0 license](https://www.gnu.org/licenses/gpl-3.0.html.en).

---

:heart: Logo generated with [hexSticker](https://github.com/GuangchuangYu/hexSticker)

Owner

  • Name: Silvia Eckert
  • Login: silvia-eckert
  • Kind: user
  • Location: Germany

Plant Ecologist | Data Scientist

Citation (CITATION.cff)

cff-version: 1.0.1
message: "If you use this software, please cite it as below."
authors:
- family-names: "Eckert"
  given-names: "Silvia"
  orcid: "https://orcid.org/0000-0002-8896-1046"
title: "microdiluteR"
version: 1.0.1
doi: 10.5281/zenodo.11186926
date-released: 2024-05-13
url: "https://cran.r-project.org/package=microdiluteR"

GitHub Events

Total
Last Year

Packages

  • Total packages: 1
  • Total downloads:
    • cran 515 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: microdiluteR

Analysis of Broth Microdilution Assays

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 515 Last month
Rankings
Dependent packages count: 27.8%
Dependent repos count: 35.7%
Average: 49.5%
Downloads: 85.2%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/codecov.yml actions
  • actions/checkout v4 composite
  • codecov/codecov-action v4.0.1 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/rcmdcheck.yml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 4.3 depends
  • dplyr >= 1.1.4 imports
  • ggh4x >= 0.2.8 imports
  • ggplot2 >= 3.5.0 imports
  • ggthemes >= 5.0.1 imports
  • magrittr >= 2.0.3 imports
  • purrr >= 1.0.2 imports
  • rlang >= 1.1.3 imports
  • rstatix >= 0.7.2 imports
  • stringr >= 1.5.1 imports
  • tibble >= 3.2.1 imports
  • tools >= 4.3.3 imports
  • vctrs >= 0.6.5 imports
  • knitr >= 1.4.6 suggests
  • rmarkdown >= 2.26 suggests
  • testthat >= 3.0.0 suggests