#' Get indices of three neighbors for the bottom right corner index of a plate
#'
#' @param plateformat An integer which can be one of 96 or 384 or 1536
#'
#' @return numeric vector of three neighbors for a given \code{plateformat}
#' @export
#'
#' @examples
#' bottomright_corner_neighbors(96)
#' bottomright_corner_neighbors(1536)
bottomright_corner_neighbors <- function(plateformat)
{
p_nrow <- plate_nrow(plateformat)
x <- c(plateformat - 1,
plateformat - p_nrow,
plateformat - p_nrow - 1)
return(sort(x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.