easyLoad_seacr: easyLoad_seacr takes a character vector of file paths to...

View source: R/functions_easyLoad.R

easyLoad_seacrR Documentation

easyLoad_seacr takes a character vector of file paths to seacr output bed files and returns a named list of GRanges.

Description

easyLoad_seacr takes a character vector of file paths to seacr output bed files and returns a named list of GRanges.

Usage

easyLoad_seacr(
  file_paths,
  file_names = NULL,
  n_cores = getOption("mc.cores", 1)
)

Arguments

file_paths

character vector of paths to seacr bed files. If named, those names will be used in output unless overriden by providing file_names.

file_names

character vector of names for output list. If not NULL will override any existing names for file_paths. Default is NULL.

n_cores

number of cores to use, uses mc.cores option if set or 1.

Value

a named list of GRanges loaded from file_paths

Examples

bed_f = system.file("extdata/test_loading.seacr.bed",
    package = "seqsetvis", mustWork = TRUE)
easyLoad_seacr(bed_f, "my_seacr")

jrboyd/seqsetvis documentation built on Dec. 10, 2024, 11:23 a.m.