findNGSPairs {ORFik} | R Documentation

## Find pair of forward and reverse strand wig / bed files and paired end bam files split in two

### Description

Find pair of forward and reverse strand wig / bed files and paired end bam files split in two

### Usage

    findNGSPairs(
      paths,
      f = c("forward", "fwd"),
      r = c("reverse", "rev"),
      format = "wig"
    )

### Arguments

`paths` | a character path at least one .wig / .bed file
`f` | Default (c("forward", "fwd") a character vector for forward direction regex.
`r` | Default (c("reverse", "rev") a character vector for reverse direction regex.
`format` | default "wig", for bed do "bed". Also searches compressions of these variants.

### Value

if not all are paired, return original list, if they are all paired, return a data.table with matches as 2 columns

[Package ORFik version 1.10.13 Index]