R/test_functs.R

Defines functions set_rownames set_colnames

set_colnames <- function(x, colnames_in) {
  colnames(x) <- colnames_in
  return(x)
}

set_rownames <- function(x, rownames_in) {
  rownames(x) <- rownames_in
  return(x)
}
Katsevich-Lab/sceptre documentation built on May 21, 2024, 8:10 p.m.