tests/testthat/setup_ecm.R

# Example custom color maps ----

COUNT_COLORS <- function(n){
  c("black","brown","red","orange","yellow")
}

FPKM_COLORS <- viridis::inferno

TPM_COLORS <- viridis::plasma

ASSAY_CONTINUOUS_COLORS <- function(n){
  c("black","purple","yellow")
}

QC_COLOR_FUN <- function(n){
  qc_colors <- c("forestgreen", "firebrick1")
  names(qc_colors) <- c("Y", "N")
  return(qc_colors)
}

Try the iSEE package in your browser

Any scripts or data that you put into this service are public.

iSEE documentation built on Feb. 3, 2021, 2:01 a.m.