R/set_threshold.R

Defines functions set_threshold

Documented in set_threshold

set_threshold <- function(.data,clfcol,threshold)
{
  .data %>%
    mutate(gtype= case_when(eval(parse(text = clfcol))>threshold~ gtype,
                            TRUE ~ 'NC'))
}
Meiomap/SureTypeSCR documentation built on Dec. 17, 2021, 3:22 a.m.