export_gtf: Export Granges object to gtf file

View source: R/export_gtf.R

export_gtfR Documentation

Export Granges object to gtf file

Description

Export Granges object to gtf file

Usage

export_gtf(
  gr,
  file2save,
  source.col = "source",
  feature.col = ifelse("type" %in% colnames(mcols(gr)), "type", "feature"),
  score = ".",
  phase = ".",
  mandatory = c("gene_id", "transcript_id"),
  return.obj = F,
  write.obj = T,
  do_sort = T
)

Arguments

gr

Grange object


wyguo/RTDBox documentation built on Jan. 31, 2023, 1:19 a.m.