R/readChp.R

Defines functions readChp

Documented in readChp

readChp <- function(filename, withQuant=TRUE) {
  res <- .Call("R_affx_get_chp_file", filename, withQuant);

  # Sanity check
  if (is.null(res)) {
    stop("Failed to read CHP file: ", filename);
  }

  res;
} # readChp()

############################################################################
# HISTORY:
# 2011-11-18
# o ROBUSTNESS: Added sanity check that the native code did not return NULL.
############################################################################
HenrikBengtsson/affxparser documentation built on Feb. 9, 2024, 3:13 a.m.