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

https://github.com/swarchal/platetools

An R package for plotting microtitre plates
https://github.com/swarchal/platetools

biology ggplot2 lab r

Last synced: 8 months ago
JSON representation

An R package for plotting microtitre plates

Awesome Lists containing this project

README

          

# platetools
[![Build Status](https://travis-ci.org/Swarchal/platetools.svg?branch=master)](https://travis-ci.org/Swarchal/platetools)
[![cran-version](http://www.r-pkg.org/badges/version/platetools)](http://cran.rstudio.com/web/packages/platetools)
[![conda-download](https://anaconda.org/conda-forge/r-platetools/badges/installer/conda.svg)](https://anaconda.org/conda-forge/r-platetools)
[![Codecov branch](https://img.shields.io/codecov/c/github/Swarchal/platetools/master.svg)](https://codecov.io/gh/Swarchal/platetools)
[![Downloads](http://cranlogs.r-pkg.org/badges/platetools)](http://www.r-pkg.org/pkg/platetools)

#### An R package for working with multi-well plates

#### Installation

CRAN:
```r
install.packages("platetools")
```

conda:
```bash
conda install -c conda-forge r-platetools
```

GitHub (dev version):
```r
remotes::install_github("swarchal/platetools")
```

### Use

```r
# example dataframe
df <- data.frame(vals = rnorm(384),
well = num_to_well(1:384, plate = 384))

raw_map(data = df$vals,
well = df$well,
plate = 384) +
ggtitle("Example 384-well plate") +
theme_dark() +
scale_fill_viridis()

```

See the [vignette](https://gist.github.com/Swarchal/b938933ae9ded94b3c14d6485b27cf69) for more examples.

###### Grammar

###### Prefix:
- `raw`: raw values
- `hit`: hit detection based on standard deviations
- `z`: z-scored values
- `b`: b-scored values
- `bhit`: b-score values before hit detection

###### Suffix:

- `map`: single plate map
- `grid`: multple plate maps

e.g:
`z_map`: z-scored plate map
`raw_grid:` raw values, multiple plate maps
`bhit_grid:` b-scored values, coloured by hits, multiple plates

##### Maintainer
Scott Warchal -