import_into_grl: Import a set of bed files in a directory into a GRangesList.

Description Usage Arguments Value

View source: R/ImportHelper.R

Description

Import a set of bed files in a directory into a GRangesList.

Usage

1
2
import_into_grl(input.dir = ".", file.format = "bed", file.ext = NULL,
  discard.metadata = FALSE, dir.type = "plain")

Arguments

input.dir

The name of the directory from which BED files must be imported.

file.format

The format of the files to be imported. Can be "bed", "broad" or "narrow".

file.ext

The extension of the files to be imported.

discard.metadata

If TRUE, metadata will be discarded after importing.

dir.type

The architecture of the directory from which the files are to be imported. If "plain", files are sought directly within the directory. If "mugqic", the output structure of the MUGQIC pipeline is searched for.

Value

A GRanges object representing the regions of the files in input.dir.


ArnaudDroitLab/ef.utils documentation built on Aug. 13, 2019, 9:09 p.m.