R/PAINTOR_get_suffixes.R

Defines functions PAINTOR_get_suffixes

PAINTOR_get_suffixes <- function(dat_merged){
    suffixes <-  stringr::str_split(
        grep(colnames(dat_merged), pattern = "^ZSCORE",value = TRUE), 
        pattern = "\\.",
        simplify = TRUE
    )
    suffixes <- suffixes[,ncol(suffixes)]
    return(suffixes)
}
RajLabMSSM/echofinemap documentation built on Jan. 3, 2023, 1:42 a.m.