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
- Host: GitHub
- URL: https://github.com/swarchal/platetools
- Owner: Swarchal
- License: other
- Created: 2016-06-11T16:35:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T16:15:26.000Z (over 2 years ago)
- Last Synced: 2025-06-03T20:08:39.874Z (about 1 year ago)
- Topics: biology, ggplot2, lab, r
- Language: R
- Homepage:
- Size: 1.63 MB
- Stars: 55
- Watchers: 7
- Forks: 15
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# platetools
[](https://travis-ci.org/Swarchal/platetools)
[](http://cran.rstudio.com/web/packages/platetools)
[](https://anaconda.org/conda-forge/r-platetools)
[](https://codecov.io/gh/Swarchal/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 -