R/filter_genome.R

Defines functions filter_genome

filter_genome <- function(meta,
                          build,
                          build_col = "genome",
                          verbose = TRUE){ 
    meta <- meta[get(build_col)==build,]
    messager(formatC(nrow(meta),big.mark = ","),
             "rows remain after filtering by genome build:",build,v=verbose)
    return(meta)
}
neurogenomics/PeakyFinders documentation built on Oct. 14, 2024, 3:09 p.m.