writeGTF: Function to export GenomicRanges to GTF format

View source: R/BedFunctions.R

writeGTFR Documentation

Function to export GenomicRanges to GTF format

Description

Function to export GenomicRanges to GTF format

Usage

writeGTF(x, source = "ATAC-peakset", peakID, filename)

Arguments

x

GenomicRanges object to export

source

String to identify the source of peaks in GTF file. Default="ATAC-peakset"

peakID

String or string vector to identify unique peaks. Will be set as 'gene_id' in gtf file and concatenated with row number of each peak.

filename

String of path to export gtf file (should end in .gtf)


kevincjnixon/ChIPATAC documentation built on May 25, 2023, 9:33 p.m.