R/stripDimnames.R

Defines functions stripDimnames

Documented in stripDimnames

#' strip dimnames (forcibly) for verifiable row/column/assay hash checking
#' 
#' @param x   a matrix 
#' 
#' @return    a matrix with no dimnames
#' 
#' @export
stripDimnames <- function(x) {
  dimnames(x) <- list(NULL, NULL)
  return(x)
}
trichelab/rehash documentation built on Nov. 5, 2019, 10:58 a.m.