GetReplicate: Generate Replicate Numbers for Plate Data
Description
This function takes a plate layout and generates a corresponding matrix of
replicate numbers for each sample.
Usage
GetReplicate(plate)
Value
A data frame with the same dimensions as the input plate, where each
cell contains the replicate number for the corresponding sample in the
input plate.
Arguments
plate
A matrix or data frame representing the plate layout, where each
cell contains a sample identifier or NA for empty wells.