Query the chromosomes or seqnames from a vector of BED files
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.
Examples
bedfiles <- system.file("extdata", package = "iscream") |>
list.files(pattern = "[a|b|c|d].bed.gz$", full.names = TRUE)
query_chroms(bedfiles)
#> [1] "chr1"