R/raw.getNoSamples.R

Defines functions raw.getNoSamples

Documented in raw.getNoSamples

#' returns approximate number of samples that were made
#'
#' @param pfad path to the RAW folder
#' @param recursive if \code{TRUE} search also subfolders
#' @return number of samples that were made with the NTE
#' @examples
#' raw.getNoSamples(raw.getSamplePath())
#'
#' @export
raw.getNoSamples <- function(pfad, recursive=FALSE) {
  q = raw.inspectFolder(pfad, recursive=recursive)
  length(strsplit(q$samples,",")[[1]])
}
thomasgredig/RAWdataR documentation built on Nov. 6, 2024, 9:46 a.m.