Skip to contents

Query the chromosomes or seqnames from a vector of BED files

Usage

query_chroms(bedfiles, nthreads = NULL)

Arguments

bedfiles

The vector of bedfile paths

nthreads

Set number of threads to use overriding the "iscream.threads" option. See ?set_threads for more information.

Value

A vector of seqnames

Examples

bedfiles <- system.file("extdata", package = "iscream") |>
  list.files(pattern = "[a|b|c|d].bed.gz$", full.names = TRUE)
query_chroms(bedfiles)
#> [1] "chr1"