import_bedgraphs: Import bedgraph files

Description Usage Arguments Value Examples

View source: R/import.R

Description

Import bedgraph files

Usage

1
2
import_bedgraphs(filenames, filter_negative_coverages = TRUE,
  keep_standard_chromosomes = TRUE, genome = NULL)

Arguments

filenames

Paths to the bedGraph files.

filter_negative_coverages

Convert negative coverage values to 0? (Default: TRUE)

keep_standard_chromosomes

Remove alternative chromosomes? (Default: TRUE)

Value

A list of GRanges (one element per file).

Examples

1
2
filenames <- get_demo_bedGraph_files()
cov <- import_bedgraphs(filenames)

CharlesJB/hmwrap documentation built on March 19, 2018, 4:08 a.m.