import.Macs2Peaks: Import the MACS2 peak file

View source: R/app-macs2.R

import.Macs2PeaksR Documentation

Import the MACS2 peak file

Description

Read the MACS2 peak file into a GRanges.

Usage

  import.Macs2Peaks(con)

Arguments

con

character(1): the filepath of MACS2 peak file.

Value

A GRanges object with extra columns.

Author(s)

Ge Tan

References

https://github.com/taoliu/MACS

Examples

  ## Not run: 
    bedFn <- "/srv/gstore/projects/p2578/MACS2_21885_2018-01-29--13-11-27/C8301US_peaks.bed"
    bedGR <- import.Macs2Peaks(bedFn)
  
## End(Not run)

uzh/ezRun documentation built on April 24, 2024, 4:01 p.m.