Skip to content

Commit

Permalink
Merge pull request #39 from bedapub/osat_ref
Browse files Browse the repository at this point in the history
add osat references
  • Loading branch information
idavydov committed Mar 11, 2024
2 parents fba78c1 + 2cdaf78 commit 7155129
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions R/osat.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#' Compute OSAT score for sample assignment.
#'
#' The OSAT score is intended to ensure even distribution of samples across
#' batches and is closely related to the chi-square test contingency table
#' (Yan et al. (2012) \doi{10.1186/1471-2164-13-689}).
#'
#' @param bc [BatchContainer] with samples
#' or [`data.table`][data.table::data.table]/[data.frame] where every row is a location
#' in a container and a sample in this location.
Expand Down
1 change: 1 addition & 0 deletions man/designit-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/osat_score.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vignettes/osat.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ knitr::opts_chunk$set(
)
```

In this vignette, we demonstrate how to use the OSAT score
([Yan et al. (2012)](https://doi.org/10.1186/1471-2164-13-689)).

```{r setup}
library(designit)
library(tidyverse)
Expand Down

0 comments on commit 7155129

Please sign in to comment.